5.18-rc1: Memory request: spans more than BOOTFB [amdgpu]
Starting with 5.18-rc1 the following is noted in dmesg: Please note that in the attached dmesg, there is another bug related to amdgpu which is addressed in Bug Report#2: #1966
[ 3.068588] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit [ 3.068597] amdgpu 0000:03:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used) [ 3.068603] amdgpu 0000:03:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF [ 3.068608] amdgpu 0000:03:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF [ 3.068617] resource sanity check: requesting [mem 0xc0000000-0xcfffffff], which spans more than BOOTFB [mem 0xc0000000-0xc02fffff] [ 3.068624] ------------[ cut here ]------------ [ 3.068627] WARNING: CPU: 0 PID: 610 at arch/x86/mm/pat/memtype.c:776 memtype_reserve_io+0x104/0x[dmesg.txt](/uploads/729664edee5cd91c741341520464224c/dmesg.txt)110 [ 3.068636] Modules linked in: acpi_cpufreq(E-) sb_edac(E-) amdgpu(E+) stv6110x(E) intel_rapl_msr(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) drm_ttm_helper(E) intel_rapl_common(E) ledtrig_audio(E) snd_hda_codec_hdmi(E) ttm(E) snd_hda_intel(E) iommu_v2(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) gpu_sched(E) iTCO_wdt(E) hid_generic(E+) stv090x(E) intel_pmc_bxt(E) eeepc_wmi(E) iTCO_vendor_support(E) drm_dp_helper(E) snd_hda_codec(E) asus_wmi(E) snd_hwdep(E) cec(E) battery(E) rc_core(E) snd_hda_core(E) sparse_keymap(E) x86_pkg_temp_thermal(E) platform_profile(E) intel_powerclamp(E) video(E) saa716x_budget(E) drm_kms_helper(E) snd_pcm(E) fb_sys_fops(E) coretemp(E) saa716x_core(E) syscopyarea(E) deflate(E) snd_timer(E) rfkill(E) pcspkr(E) i2c_i801(E) snd(E) sysfillrect(E) sysimgblt(E) mei_me(E) dvb_core(E) wmi_bmof(E) efi_pstore(E) usbhid(E) mxm_wmi(E) i2c_algo_bit(E) i2c_smbus(E) soundcore(E) mc(E) lpc_ich(E) e1000e(E) mei(E) tiny_power_button(E) button(E) [ 3.068683] nls_iso8859_1(E) nls_cp437(E) vfat(E) fat(E) fuse(E) drm(E) configfs(E) ip_tables(E) x_tables(E) crct10dif_pclmul(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) aesni_intel(E) crypto_simd(E) cryptd(E) xhci_pci(E) ehci_pci(E) firewire_ohci(E) xhci_hcd(E) ehci_hcd(E) firewire_core(E) crc_itu_t(E) usbcore(E) usb_common(E) wmi(E) sg(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) scsi_dh_alua(E) msr(E) efivarfs(E) [ 3.068734] CPU: 0 PID: 610 Comm: systemd-udevd Tainted: G E 5.18.0-rc1-desktop-saa716x-O2-debug+ #137 [ 3.068740] Hardware name: System manufacturer System Product Name/P9X79, BIOS 4801 07/24/2014 [ 3.068744] RIP: 0010:memtype_reserve_io+0x104/0x110 [ 3.068749] Code: 89 ef e8 4f f8 ff ff e9 74 ff ff ff 8b 54 24 0c 4c 89 f6 48 89 ef e8 2b fe ff ff 85 c0 78 ce 8b 44 24 0c 89 03 e9 56 ff ff ff <0f> 0b e9 35 ff ff ff e8 40 e5 8e 00 48 83 ec 10 48 01 fe 65 48 8b [ 3.068756] RSP: 0018:ffffa26880967ae0 EFLAGS: 00010286 [ 3.068760] RAX: 00000000ffffffff RBX: ffffa26880967b34 RCX: 0000000000000027 [ 3.068764] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8c90f0f0 [ 3.068768] RBP: 00000000c0000000 R08: ffff941e3ff5c7a8 R09: 00000000ffffbfff [ 3.068772] R10: ffff941e2faa0000 R11: ffff941e3fefc7c0 R12: 00000000d0000000 [ 3.068776] R13: 0000000000000001 R14: 0000000010000000 R15: ffff941b98440000 [ 3.068780] FS: 00007f0ec3850b00(0000) GS:ffff941e2fc00000(0000) knlGS:0000000000000000 [ 3.068785] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.068789] CR2: 0000557e8dd5e008 CR3: 0000000108d7e003 CR4: 00000000001706f0 [ 3.068793] Call Trace: [ 3.068796] <TASK> [ 3.068800] arch_io_reserve_memtype_wc+0x29/0x50 [ 3.068806] amdgpu_bo_init+0x26/0x70 [amdgpu] [ 3.069059] gmc_v10_0_sw_init+0x22a/0x2b0 [amdgpu] [ 3.069302] amdgpu_device_ip_init+0x56/0x512 [amdgpu] [ 3.069583] amdgpu_device_init.cold+0x268/0x6a5 [amdgpu] [ 3.069865] amdgpu_driver_load_kms+0x10/0x100 [amdgpu] [ 3.070084] amdgpu_pci_probe+0x1a3/0x3c0 [amdgpu] [ 3.070294] local_pci_probe+0x40/0x80 [ 3.070300] ? pci_match_device+0xd2/0x120 [ 3.070304] pci_device_probe+0xbd/0x1e0 [ 3.070309] really_probe+0x197/0x370 [ 3.070314] __driver_probe_device+0xf9/0x170 [ 3.070319] driver_probe_device+0x19/0x90 [ 3.070323] __driver_attach+0xbb/0x1c0 [ 3.070327] ? __device_attach_driver+0xd0/0xd0 [ 3.070331] ? __device_attach_driver+0xd0/0xd0 [ 3.070335] bus_for_each_dev+0x73/0xb0 [ 3.070339] bus_add_driver+0x143/0x1e0 [ 3.070343] driver_register+0x8a/0xe0 [ 3.070348] ? 0xffffffffc1601000 [ 3.070351] do_one_initcall+0x47/0x190 [ 3.070356] ? kmem_cache_alloc+0x30/0x3f0 [ 3.070361] do_init_module+0x42/0x210 [ 3.070367] __do_sys_finit_module+0xb4/0x120 [ 3.070373] do_syscall_64+0x5c/0xc0 [ 3.070378] ? do_syscall_64+0x69/0xc0 [ 3.070382] ? do_syscall_64+0x69/0xc0 [ 3.070386] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 3.070390] RIP: 0033:0x7f0ec37264dd [ 3.070394] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1b 29 0f 00 f7 d8 64 89 01 48 [ 3.070401] RSP: 002b:00007ffc258ab178 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 3.070406] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0ec37264dd [ 3.070411] RDX: 0000000000000000 RSI: 0000557e8dd598e0 RDI: 000000000000001b [ 3.070415] RBP: 0000557e8dd5c250 R08: 0000000000000000 R09: 0000000000000002 [ 3.070418] R10: 000000000000001b R11: 0000000000000246 R12: 0000557e8dd598e0 [ 3.070422] R13: 0000557e8dd5b920 R14: 0000000000000000 R15: 0000557e8dd5c250 [ 3.070427] </TASK> [ 3.070429] ---[ end trace 0000000000000000 ]--- [ 3.070434] [drm] Detected VRAM RAM=8176M, BAR=256M [ 3.070438] [drm] RAM width 256bits GDDR6 [ 3.070660] resource sanity check: requesting [mem 0xc0000000-0xcfffffff], which spans more than BOOTFB [mem 0xc0000000-0xc02fffff] [ 3.070667] caller amdgpu_ttm_init+0x121/0x290 [amdgpu] mapping multiple BARs
dmesg.txt