GM20B probe fails after commit 2541626cfb79
Subsystems (4)
Hello,
Commit 2541626cfb79 breaks GM20B probe with
the following kernel log:
[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22
#regzbot introduced: 2541626cfb79
Thanks,
Diogo Ivo
[adding Karol and Lyude to the list of recipients]
Hi, this is your Linux kernel regression tracker. Top-posting for once, to make this easily accessible to everyone.
Quoted 4 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:
Just wondering: is anyone looking on this? The report was posted more than a week ago and didn't even get a single reply yet afaics. This of course can happen at this time of the year, but I nevertheless thought a quick status inquiry might be a good idea at this point.
Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.
Quoted 65 lines
[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22
Quoted 7 lines
#regzbot introduced:
2541626cfb79Thanks,
Diogo Ivo
#regzbot poke
[CCing Daniel]
Quoted 11 lines · Thorsten Leemhuis
[adding Karol and Lyude to the list of recipients]
Quoted 4 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:Just wondering: is anyone looking on this? The report was posted more than a week ago and didn't even get a single reply yet afaics. This of course can happen at this time of the year, but I nevertheless thought a quick status inquiry might be a good idea at this point.
Hmmm, the report is now more that two weeks old and didn't get a single reply. My prodding about a week ago also didn't help. Then I guess I have to bring this to Linus attention, unless something happens in the next 2 days.
Diogo, for that it would be really helpful to known: is the issue still happening with latest mainline? Is it possible to revert 2541626cfb79 easily? And if so: do things work afterwards again?
Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.
#regzbot poke
Quoted 74 lines
Quoted 65 lines
[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22Quoted 7 lines
#regzbot introduced:
2541626cfb79Thanks,
Diogo Ivo
#regzbot poke
Quoted 16 lines · Linux kernel regression tracking (Thorsten Leemhuis)
[CCing Daniel]
Quoted 11 lines · Thorsten Leemhuis
[adding Karol and Lyude to the list of recipients]
Quoted 4 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:Just wondering: is anyone looking on this? The report was posted more than a week ago and didn't even get a single reply yet afaics. This of course can happen at this time of the year, but I nevertheless thought a quick status inquiry might be a good idea at this point.
Quoted 5 lines
Hmmm, the report is now more that two weeks old and didn't get a single reply. My prodding about a week ago also didn't help. Then I guess I have to bring this to Linus attention, unless something happens in the next 2 days.
I tried to look into it, but my jetson nano, just constantly behaves in very strange ways. I tried to compile and install a 6.1 kernel onto it, but any kernel just refuses to boot and I have no idea what's up with that device. The kernel starts to boot and it just stops in the middle. From what I can tell is that most of the tegra devices never worked reliably in the first place and there are a couple of random and strange bugs around. I've attached my dmesg, so if anybody has any clues why the kernel just stops doing anything, it would really help me.
But maybe it would be for the best to just pull tegra support out of nouveau, because in the current situation we really can't spare much time dealing with them and we are already busy enough just dealing with the desktop GPUs. And the firmware we got from Nvidia is so ancient and different from the desktop GPU ones, that without actually having all those boards available and properly tested, we can't be sure to not break them.
And afaik there are almost no _actual_ users, just distribution folks wanting to claim "support" for those devices, but then ending up using Nvidia's out of tree Tegra driver in deployments anyway.
If there are actual users using them for their daily life, I'd like to know, because I'm aware of none.
If there are companies/entities actually caring about those devices running _nouveau_, I'd be happy to keep supporting them, but then only with proper kernel CI, because the current situation is just not sustainable.
Ben, Lyude, Dave, Daniel, any thoughts on that?
Quoted 87 lines
Diogo, for that it would be really helpful to known: is the issue still happening with latest mainline? Is it possible to revert
2541626cfb79easily? And if so: do things work afterwards again?Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.#regzbot poke
Quoted 74 lines
Quoted 65 lines
[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22Quoted 7 lines
#regzbot introduced:
2541626cfb79Thanks,
Diogo Ivo
#regzbot poke
Quoted 9 lines · Karol Herbst
I tried to look into it, but my jetson nano, just constantly behaves in very strange ways. I tried to compile and install a 6.1 kernel onto it, but any kernel just refuses to boot and I have no idea what's up with that device. The kernel starts to boot and it just stops in the middle. From what I can tell is that most of the tegra devices never worked reliably in the first place and there are a couple of random and strange bugs around. I've attached my dmesg, so if anybody has any clues why the kernel just stops doing anything, it would really help me.
Hello,
Thank you for looking into this! I have seen this type of hang in mainline on this SoC, and it was due to a reset not being deasserted. Would you mind getting a log with initcall_debug enabled to pinpoint where the hang occurs? I would be happy to help if I can.
Quoted 8 lines
But maybe it would be for the best to just pull tegra support out of nouveau, because in the current situation we really can't spare much time dealing with them and we are already busy enough just dealing with the desktop GPUs. And the firmware we got from Nvidia is so ancient and different from the desktop GPU ones, that without actually having all those boards available and properly tested, we can't be sure to not break them.
Quoted 6 lines
And afaik there are almost no _actual_ users, just distribution folks wanting to claim "support" for those devices, but then ending up using Nvidia's out of tree Tegra driver in deployments anyway.
If there are actual users using them for their daily life, I'd like to know, because I'm aware of none.
For what it's worth, I consider myself a user of nouveau. Granted, I'm using it as a hobby project, but in its current state it is not far from a usable desktop experience on the Pixel C.
Diogo
Quoted 12 lines · Diogo Ivo
Quoted 9 lines · Karol Herbst
I tried to look into it, but my jetson nano, just constantly behaves in very strange ways. I tried to compile and install a 6.1 kernel onto it, but any kernel just refuses to boot and I have no idea what's up with that device. The kernel starts to boot and it just stops in the middle. From what I can tell is that most of the tegra devices never worked reliably in the first place and there are a couple of random and strange bugs around. I've attached my dmesg, so if anybody has any clues why the kernel just stops doing anything, it would really help me.
Quoted 7 lines
Hello,
Thank you for looking into this! I have seen this type of hang in mainline on this SoC, and it was due to a reset not being deasserted. Would you mind getting a log with
initcall_debugenabled to pinpoint where the hang occurs? I would be happy to help if I can.
the last thing printed is:
[ 20.517642] calling clk_disable_unused+0x0/0xe0 @ 1
Quoted 12 lines
Quoted 11 lines
But maybe it would be for the best to just pull tegra support out of nouveau, because in the current situation we really can't spare much time dealing with them and we are already busy enough just dealing with the desktop GPUs. And the firmware we got from Nvidia is so ancient and different from the desktop GPU ones, that without actually having all those boards available and properly tested, we can't be sure to not break them.
And afaik there are almost no _actual_ users, just distribution folks wanting to claim "support" for those devices, but then ending up using Nvidia's out of tree Tegra driver in deployments anyway.
Quoted 7 lines
Quoted 2 lines
If there are actual users using them for their daily life, I'd like to know, because I'm aware of none.
For what it's worth, I consider myself a user of nouveau. Granted, I'm using it as a hobby project, but in its current state it is not far from a usable desktop experience on the Pixel C.
okay. I mean, I'm happy to keep fixing regressions and figuring out what's wrong with booting the devices and such if regular users come around and file bugs. And until today I wasn't really aware of anybody :)
It's just not worth my time, if there are no users using them at all. Or rather.. if there would only be commercial users (like.. companies deploying those for money), then they could get involved and help us out, because I wouldn't be willing to spend my time on this, if that would be the case.
Quoted 2 lines
Diogo
Quoted 3 lines · Linux kernel regression tracking (Thorsten Leemhuis)
Diogo, for that it would be really helpful to known: is the issue still happening with latest mainline? Is it possible to revert
2541626cfb79easily? And if so: do things work afterwards again?
Hello,
Thank you for your attention to this! I have checked the latest mainline and it still occurs. As for reverting, I think it is complicated to do, since this commit is a part of a larger rework, but I'm afraid I don't know enough about the code to give a proper answer.
Diogo
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.]
Quoted 9 lines · Thorsten Leemhuis
Quoted 4 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:Just wondering: is anyone looking on this? The report was posted more than a week ago and didn't even get a single reply yet afaics. This of course can happen at this time of the year, but I nevertheless thought a quick status inquiry might be a good idea at this point.
#regzbot fix: drm/nouveau/acr/gm20b: regression fixes #regzbot ignore-activity
Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.
Quoted 71 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22
Quoted 1 line
#regzbot introduced:
2541626cfb79
As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from NVKM_MEM_TARGET_HOST to NVKM_MEM_TARGET_NCOH ?
Dave.
Quoted 5 lines
Thanks,
Diogo Ivo
Quoted 5 lines · David Airlie
On Thu, Dec 29, 2022 at 12:58 AM Diogo Ivo <[email protected]> wrote:
As a quick check can you try changingdrivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?
Hello!
Applying this change breaks probing in a different way, with a bad PC=0x0. From a quick look at nvkm_falcon_load_dmem it looks like this could happen due to the .load_dmem() callback not being properly initialized. This is the kernel log I got:
[ 2.010601] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 2.019436] Mem abort info: [ 2.022273] ESR = 0x0000000086000005 [ 2.026066] EC = 0x21: IABT (current EL), IL = 32 bits [ 2.031429] SET = 0, FnV = 0 [ 2.034528] EA = 0, S1PTW = 0 [ 2.037694] FSC = 0x05: level 1 translation fault [ 2.042572] [0000000000000000] user address but active_mm is swapper [ 2.048961] Internal error: Oops: 0000000086000005 [#1] SMP [ 2.054529] Modules linked in: [ 2.057582] CPU: 0 PID: 36 Comm: kworker/u8:1 Not tainted 6.2.0-rc3+ #2 [ 2.064190] Hardware name: Google Pixel C (DT) [ 2.068628] Workqueue: events_unbound deferred_probe_work_func [ 2.074463] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.081417] pc : 0x0 [ 2.083600] lr : nvkm_falcon_load_dmem+0x58/0x80 [ 2.088218] sp : ffffffc009ddb6f0 [ 2.091526] x29: ffffffc009ddb6f0 x28: ffffff808028a008 x27: ffffff8081e43c38 [ 2.098658] x26: 00000000000000ff x25: ffffff808028a0a0 x24: 0000000000000000 [ 2.105788] x23: ffffff8080c328f8 x22: 000000000000002c x21: 0000000000005fd4 [ 2.112917] x20: ffffffc009ddb76c x19: ffffff8080c328b8 x18: 0000000000000000 [ 2.120047] x17: 2e74696e695f646f x16: 6874656d5f77732f x15: 0000000000000000 [ 2.127176] x14: 0000000002f546c2 x13: 0000000000000000 x12: 00000000000001ce [ 2.134306] x11: 0000000000000001 x10: 0000000000000a90 x9 : ffffffc009ddb600 [ 2.141436] x8 : ffffff80803d19f0 x7 : ffffff80bf971180 x6 : 00000000000001b9 [ 2.148565] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 000000000000002c [ 2.155693] x2 : 0000000000005fd4 x1 : ffffffc009ddb76c x0 : ffffff8080c328b8 [ 2.162822] Call trace: [ 2.165264] 0x0 [ 2.167099] gm20b_pmu_init+0x78/0xb4 [ 2.170762] nvkm_pmu_init+0x20/0x34 [ 2.174334] nvkm_subdev_init_+0x60/0x12c [ 2.178339] nvkm_subdev_init+0x60/0xa0 [ 2.182171] nvkm_device_init+0x14c/0x2a0 [ 2.186178] nvkm_udevice_init+0x60/0x9c [ 2.190097] nvkm_object_init+0x48/0x1b0 [ 2.194013] nvkm_ioctl_new+0x168/0x254 [ 2.197843] nvkm_ioctl+0xd0/0x220 [ 2.201239] nvkm_client_ioctl+0x10/0x1c [ 2.205160] nvif_object_ctor+0xf4/0x22c [ 2.209079] nvif_device_ctor+0x28/0x70 [ 2.212910] nouveau_cli_init+0x150/0x590 [ 2.216916] nouveau_drm_device_init+0x60/0x2a0 [ 2.221442] nouveau_platform_device_create+0x90/0xd0 [ 2.226489] nouveau_platform_probe+0x3c/0x9c [ 2.230841] platform_probe+0x68/0xc0 [ 2.234500] really_probe+0xbc/0x2dc [ 2.238070] __driver_probe_device+0x78/0xe0 [ 2.242334] driver_probe_device+0xd8/0x160 [ 2.246511] __device_attach_driver+0xb8/0x134 [ 2.250948] bus_for_each_drv+0x78/0xd0 [ 2.254782] __device_attach+0x9c/0x1a0 [ 2.258612] device_initial_probe+0x14/0x20 [ 2.262789] bus_probe_device+0x98/0xa0 [ 2.266619] deferred_probe_work_func+0x88/0xc0 [ 2.271142] process_one_work+0x204/0x40c [ 2.275150] worker_thread+0x230/0x450 [ 2.278894] kthread+0xc8/0xcc [ 2.281946] ret_from_fork+0x10/0x20 [ 2.285525] Code: bad PC value [ 2.288576] ---[ end trace 0000000000000000 ]---
Diogo
Quoted 8 lines · Diogo Ivo
Quoted 5 lines · David Airlie
On Thu, Dec 29, 2022 at 12:58 AM Diogo Ivo <[email protected]> wrote:
As a quick check can you try changingdrivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?
Quoted 6 lines
Hello!
Applying this change breaks probing in a different way, with a bad PC=0x0. From a quick look at
nvkm_falcon_load_dmemit looks like this could happen due to the .load_dmem() callback not being properly initialized. This is the kernel log I got:
In addition to Dave's change, can you try changing the nvkm_falcon_load_dmem() call in gm20b_pmu_init() to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);
Ben.
Quoted 64 lines
[ 2.010601] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 2.019436] Mem abort info: [ 2.022273] ESR = 0x0000000086000005 [ 2.026066] EC = 0x21: IABT (current EL), IL = 32 bits [ 2.031429] SET = 0, FnV = 0 [ 2.034528] EA = 0, S1PTW = 0 [ 2.037694] FSC = 0x05: level 1 translation fault [ 2.042572] [0000000000000000] user address but active_mm is swapper [ 2.048961] Internal error: Oops: 0000000086000005 [#1] SMP [ 2.054529] Modules linked in: [ 2.057582] CPU: 0 PID: 36 Comm: kworker/u8:1 Not tainted 6.2.0-rc3+ #2 [ 2.064190] Hardware name: Google Pixel C (DT) [ 2.068628] Workqueue: events_unbound deferred_probe_work_func [ 2.074463] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.081417] pc : 0x0 [ 2.083600] lr : nvkm_falcon_load_dmem+0x58/0x80 [ 2.088218] sp : ffffffc009ddb6f0 [ 2.091526] x29: ffffffc009ddb6f0 x28: ffffff808028a008 x27: ffffff8081e43c38 [ 2.098658] x26: 00000000000000ff x25: ffffff808028a0a0 x24: 0000000000000000 [ 2.105788] x23: ffffff8080c328f8 x22: 000000000000002c x21: 0000000000005fd4 [ 2.112917] x20: ffffffc009ddb76c x19: ffffff8080c328b8 x18: 0000000000000000 [ 2.120047] x17: 2e74696e695f646f x16: 6874656d5f77732f x15: 0000000000000000 [ 2.127176] x14: 0000000002f546c2 x13: 0000000000000000 x12: 00000000000001ce [ 2.134306] x11: 0000000000000001 x10: 0000000000000a90 x9 : ffffffc009ddb600 [ 2.141436] x8 : ffffff80803d19f0 x7 : ffffff80bf971180 x6 : 00000000000001b9 [ 2.148565] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 000000000000002c [ 2.155693] x2 : 0000000000005fd4 x1 : ffffffc009ddb76c x0 : ffffff8080c328b8 [ 2.162822] Call trace: [ 2.165264] 0x0 [ 2.167099] gm20b_pmu_init+0x78/0xb4 [ 2.170762] nvkm_pmu_init+0x20/0x34 [ 2.174334] nvkm_subdev_init_+0x60/0x12c [ 2.178339] nvkm_subdev_init+0x60/0xa0 [ 2.182171] nvkm_device_init+0x14c/0x2a0 [ 2.186178] nvkm_udevice_init+0x60/0x9c [ 2.190097] nvkm_object_init+0x48/0x1b0 [ 2.194013] nvkm_ioctl_new+0x168/0x254 [ 2.197843] nvkm_ioctl+0xd0/0x220 [ 2.201239] nvkm_client_ioctl+0x10/0x1c [ 2.205160] nvif_object_ctor+0xf4/0x22c [ 2.209079] nvif_device_ctor+0x28/0x70 [ 2.212910] nouveau_cli_init+0x150/0x590 [ 2.216916] nouveau_drm_device_init+0x60/0x2a0 [ 2.221442] nouveau_platform_device_create+0x90/0xd0 [ 2.226489] nouveau_platform_probe+0x3c/0x9c [ 2.230841] platform_probe+0x68/0xc0 [ 2.234500] really_probe+0xbc/0x2dc [ 2.238070] __driver_probe_device+0x78/0xe0 [ 2.242334] driver_probe_device+0xd8/0x160 [ 2.246511] __device_attach_driver+0xb8/0x134 [ 2.250948] bus_for_each_drv+0x78/0xd0 [ 2.254782] __device_attach+0x9c/0x1a0 [ 2.258612] device_initial_probe+0x14/0x20 [ 2.262789] bus_probe_device+0x98/0xa0 [ 2.266619] deferred_probe_work_func+0x88/0xc0 [ 2.271142] process_one_work+0x204/0x40c [ 2.275150] worker_thread+0x230/0x450 [ 2.278894] kthread+0xc8/0xcc [ 2.281946] ret_from_fork+0x10/0x20 [ 2.285525] Code: bad PC value [ 2.288576] ---[ end trace 0000000000000000 ]---Diogo
Quoted 16 lines · Ben Skeggs
Quoted 8 lines · Diogo Ivo
Quoted 5 lines · David Airlie
On Thu, Dec 29, 2022 at 12:58 AM Diogo Ivo <[email protected]> wrote:
As a quick check can you try changingdrivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?Quoted 6 lines
Hello!
Applying this change breaks probing in a different way, with a bad PC=0x0. From a quick look at
nvkm_falcon_load_dmemit looks like this could happen due to the .load_dmem() callback not being properly initialized. This is the kernel log I got:
Quoted 5 lines
In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);
Here is the new stack trace:
[ 1112.488211] nouveau: loading out-of-tree module taints kernel. [ 1112.494763] nouveau: module verification failed: signature and/or required key missing - tainting kernel [ 1112.534035] Failed to set up IOMMU for device 57000000.gpu; retaining platform DMA ops [ 1112.537536] nouveau 57000000.gpu: NVIDIA GM20B (12b000a1) [ 1112.537587] nouveau 57000000.gpu: imem: using IOMMU [ 1112.616677] ------------[ cut here ]------------ [ 1112.616820] nouveau 57000000.gpu: DRM: VRAM: 0 MiB [ 1112.616830] nouveau 57000000.gpu: DRM: GART: 1048576 MiB [ 1112.616688] WARNING: CPU: 0 PID: 388 at /var/tmp/linux/drivers/gpu/drm/nouveau/nvkm/falcon/base.c:135 nvkm_falcon_pio_rd+0x150/0x2bc [nouveau] [ 1112.617272] Modules linked in: nouveau(OE+) drm_ttm_helper ttm
snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink qrtr snd_soc_tegra_audio_graph_card snd_soc_audio_graph_card snd_soc_simple_card_utils snd_soc_core snd_hda_codec_hdmi snd_hda_tegra snd_compress snd_hda_codec ac97_bus snd_hda_core snd_pcm_dmaengine snd_hwdep snd_seq snd_seq_device sunrpc snd_pcm usb_conn_gpio snd_timer snd max77620_thermal tegra_xudc tegra_soctherm udc_core soundcore cpufreq_dt at24 vfat fat zram r8152 mii panel_simple mmc_block tegra_drm drm_dp_aux_bus drm_display_helper rtc_max77686 lp855x_bl crct10dif_ce cec polyval_ce polyval_generic ghash_ce gpio_keys sdhci_tegra xhci_tegra sdhci_pltfm sdhci phy_tegra_xusb rtc_tegra cqhci ahci_tegra host1x tegra210_emc i2c_tegra ip6_tables
[ 1112.617430] ip_tables fuse [ 1112.617440] CPU: 0 PID: 388 Comm: kworker/0:4 Tainted: G OE ------- --- 6.2.0-0.rc4.31.fc38.aarch64 #1 [ 1112.617446] Hardware name: nvidia,p2371-2180 NVIDIA P2371-2180/NVIDIA P2371-2180, BIOS 2022.10 10/01/2022 [ 1112.617452] Workqueue: events nvkm_pmu_recv [nouveau] [ 1112.617934] pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1112.617940] pc : nvkm_falcon_pio_rd+0x150/0x2bc [nouveau] [ 1112.618418] nouveau 57000000.gpu: DRM: MM: using COPY for buffer copies [ 1112.618525] lr : nvkm_falcon_pio_rd+0x50/0x2bc [nouveau] [ 1112.619057] sp : ffff80000bf13c40 [ 1112.619060] x29: ffff80000bf13c50 x28: 0000000000000000 x27: 0000000000000000 [ 1112.619070] x26: ffff8000553f3d70 x25: ffff0000b04704b8 x24: 0000000000000000 [ 1112.619079] x23: ffff8000554800a0 x22: 0000000000000000 x21: ffff80000bf13d56 [ 1112.619086] x20: 000000000000002a x19: 0000000000000001 x18: 0000000000000000 [ 1112.619093] x17: 000000040044ffff x16: ffff8000091f53b0 x15: 0000000000000000 [ 1112.619100] x14: 0000000000000000 x13: 0000000000000030 x12: 0101010101010101 [ 1112.619108] x11: 7f7f7f7f7f7f7f7f x10: fefefefefefefeff x9 : ffff8000552cc224 [ 1112.619115] x8 : ffff0000b0470420 x7 : 0000000000000000 x6 : 000000000000002a [ 1112.619123] x5 : 0000000000000000 x4 : ffff80005540b7c8 x3 : ffff0000b0470408 [ 1112.619130] x2 : ffff0000b0470420 x1 : ffff0000b0470408 x0 : 0000000000000003 [ 1112.619138] Call trace: [ 1112.619141] nvkm_falcon_pio_rd+0x150/0x2bc [nouveau] [ 1112.619756] nvkm_falcon_msgq_pop+0x90/0x1c0 [nouveau] [ 1112.620313] nvkm_falcon_msgq_recv_initmsg+0xd4/0x1f4 [nouveau] [ 1112.620877] gm20b_pmu_initmsg+0x3c/0xd4 [nouveau] [ 1112.621418] gm20b_pmu_recv+0x30/0x80 [nouveau] [ 1112.622004] nvkm_pmu_recv+0x24/0x30 [nouveau] [ 1112.622547] process_one_work+0x1e8/0x480 [ 1112.622559] worker_thread+0x74/0x410 [ 1112.622564] kthread+0xe8/0xf4 [ 1112.622568] ret_from_fork+0x10/0x20 [ 1112.622577] ---[ end trace 0000000000000000 ]--- [ 1112.622696] nouveau 57000000.gpu: pmu: unexpected init message size 0 vs 42 [ 1112.622708] nouveau 57000000.gpu: pmu: error parsing init message: -22 [ 1112.623365] [drm] Initialized nouveau 1.3.1 20120801 for 57000000.gpu on minor 1 [ 1113.688183] nouveau 57000000.gpu: pmu:hpq: timeout waiting for queue ready [ 1113.688246] nouveau 57000000.gpu: gr: init failed, -110
Quoted 4 lines · Ben Skeggs
Quoted 3 lines · Diogo Ivo
Quoted 2 lines · David Airlie
As a quick check can you try changing
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);
Hello!
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42
Quoted 15 lines · Diogo Ivo
Quoted 4 lines · Ben Skeggs
Quoted 3 lines · Diogo Ivo
Quoted 2 lines · David Airlie
As a quick check can you try changing
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);
Quoted 6 lines
Hello!
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42
I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Would be great if you guys could test it out for me.
Thanks,
Ben.
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c +13 -1
@@ -48,6 +48,16 @@ gm200_flcn_pio_dmem_rd(struct nvkm_falcon *falcon, u8 port, const u8 *img, int l img +=4 ; len -=4 ; } + +/* Sigh. Tegra PMU FW's init message... */ +if (len) { +u32 data =nvkm_falcon_rd32 (falcon,0x1c4 + (port *8 )); + +while (len--) { + *(u8 *)img++ = data &0xff ; + data >>=8 ; + } + } } static void
@@ -64,6 +74,8 @@ gm200_flcn_pio_dmem_wr(struct nvkm_falcon *falcon, u8 port, const u8 *img, int l img +=4 ; len -=4 ; } + +WARN_ON (len); } static void
@@ -74,7 +86,7 @@ gm200_flcn_pio_dmem_wr_init(struct nvkm_falcon *falcon, u8 port, bool sec, u32 dconst struct nvkm_falcon_func_pio gm200_flcn_dmem_pio = { - .min =4 , + .min =1 , .max =0x100 , .wr_init = gm200_flcn_pio_dmem_wr_init, .wr = gm200_flcn_pio_dmem_wr,
Nicolas Chauvet
Tested-byQuoted 19 lines · Ben Skeggs
Quoted 17 lines · Diogo Ivo
Quoted 4 lines · Ben Skeggs
Quoted 3 lines · Diogo Ivo
Quoted 2 lines · David Airlie
As a quick check can you try changing
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);Hello!
Quoted 8 lines
Quoted 4 lines
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Would be great if you guys could test it out for me.
Hello,
Thanks for the patch. It works for me on: jetson-tx1:
---
[ 1022.814699] nouveau 57000000.gpu: NVIDIA GM20B (12b000a1) [ 1022.814750] nouveau 57000000.gpu: imem: using IOMMU [ 1022.893976] nouveau 57000000.gpu: DRM: VRAM: 0 MiB [ 1022.893988] nouveau 57000000.gpu: DRM: GART: 1048576 MiB [ 1022.895356] nouveau 57000000.gpu: DRM: MM: using COPY for buffer copies [ 1022.897046] [drm] Initialized nouveau 1.3.1 20120801 for
57000000.gpu on minor 1
---
I've tried to run glmark2-wayland under weston with DRI_PRIME=1, it seems to work at the beginning, but then I have the following error:
[ 1510.861730] nouveau 57000000.gpu: gr: DATA_ERROR 00000003 [INVALID_OPERATION] ch 3 [04002a2000 glmark2-wayland[2753]] subc 0 class b197 mthd 19d0 data 0000003d [ 1510.952000] nouveau 57000000.gpu: gr: DATA_ERROR 00000003 [INVALID_OPERATION] ch 3 [04002a2000 glmark2-wayland[2753]] subc 0 class b197 mthd 19d0 data 0000003d [ 1510.952060] nouveau 57000000.gpu: gr: DATA_ERROR 0000009c [] ch 3
[04002a2000 glmark2-wayland[2753]] subc 0 class b197 mthd 0d78 data 00000006
I think it's a separate error as I think I can reproduce on kernel 6.1x (I will open a separate thread).
So you can add my
Thanks
Quoted 10 lines · Nicolas Chauvet
I've tried to run glmark2-wayland under weston with DRI_PRIME=1, it seems to work at the beginning, but then I have the following error:
[ 1510.861730] nouveau 57000000.gpu: gr: DATA_ERROR 00000003 [INVALID_OPERATION] ch 3 [04002a2000 glmark2-wayland[2753]] subc 0 class b197 mthd 19d0 data 0000003d [ 1510.952000] nouveau 57000000.gpu: gr: DATA_ERROR 00000003 [INVALID_OPERATION] ch 3 [04002a2000 glmark2-wayland[2753]] subc 0 class b197 mthd 19d0 data 0000003d [ 1510.952060] nouveau 57000000.gpu: gr: DATA_ERROR 0000009c [] ch 3
Quoted 4 lines
[
04002a2000glmark2-wayland[2753]] subc 0 class b197 mthd 0d78 data 00000006
I think it's a separate error as I think I can reproduce on kernel 6.1x (I will open a separate thread).
Hello,
Would you mind testing this Mesa merge request (and the kernel patches mentioned there) to see if it fixes this error:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20811
Thanks,
Diogo
Diogo Ivo
Tested-byQuoted 16 lines · Ben Skeggs
Quoted 15 lines · Diogo Ivo
Quoted 12 lines · Ben Skeggs
Quoted 5 lines · Diogo Ivo
Quoted 4 lines · David Airlie
As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);
Quoted 6 lines
Quoted 4 lines
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Hello,
Thank you for the patch! I can confirm that it fixes the problem on the Pixel C, and everything works as before the regression. With this, for the combination of patches
which I can resend after testing the final patch version.
Thanks,
Diogo
Quoted 27 lines · Diogo Ivo
Quoted 16 lines · Ben Skeggs
Quoted 15 lines · Diogo Ivo
Quoted 12 lines · Ben Skeggs
Quoted 5 lines · Diogo Ivo
Quoted 4 lines · David Airlie
As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);Quoted 6 lines
Quoted 4 lines
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Hello,
Quoted 7 lines
Thank you for the patch! I can confirm that it fixes the problem on the Pixel C, and everything works as before the regression. With this, for the combination of patches
Tested-by Diogo Ivo <[email protected]>which I can resend after testing the final patch version.
Thank you (both!) for testing!
I've attached a "final" version of a patch that I'll send (assuming it still works ;)) after re-testing. There's only a minor change to avoid breaking the non-Tegra path, so I expect it should be fine.
Ben.
Quoted 3 lines
Thanks,
Diogo
From bfc1b84d26ca28f78a07d494b0813fe642e80bbe Mon Sep 17 00:00:00 2001
From: Ben Skeggs <[email protected]>
Date: Fri, 27 Jan 2023 15:42:27 +1000
Subject: [PATCH] drm/nouveau/acr/gm20b: regression fixes
Missed some Tegra-specific quirks when reworking ACR to support Ampere.
--- drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 3 +++ drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c | 14 +++++++++++++- drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-)
drivers/gpu/drm/nouveau/nvkm/core/firmware.c +3 -0
@@ -151,6 +151,9 @@ nvkm_firmware_mem_page(struct nvkm_memory *memory)static enum nvkm_memory_target nvkm_firmware_mem_target (struct nvkm_memory *memory) { +if (nvkm_firmware_mem (memory)->device->func->tegra) +return NVKM_MEM_TARGET_NCOH ; +return NVKM_MEM_TARGET_HOST ; }
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c +13 -1
@@ -48,6 +48,16 @@ gm200_flcn_pio_dmem_rd(struct nvkm_falcon *falcon, u8 port, const u8 *img, int l img +=4 ; len -=4 ; } + +/* Sigh. Tegra PMU FW's init message... */ +if (len) { +u32 data =nvkm_falcon_rd32 (falcon,0x1c4 + (port *8 )); + +while (len--) { + *(u8 *)img++ = data &0xff ; + data >>=8 ; + } + } } static void
@@ -64,6 +74,8 @@ gm200_flcn_pio_dmem_wr(struct nvkm_falcon *falcon, u8 port, const u8 *img, int l img +=4 ; len -=4 ; } + +WARN_ON (len); } static void
@@ -74,7 +86,7 @@ gm200_flcn_pio_dmem_wr_init(struct nvkm_falcon *falcon, u8 port, bool sec, u32 dconst struct nvkm_falcon_func_pio gm200_flcn_dmem_pio = { - .min =4 , + .min =1 , .max =0x100 , .wr_init = gm200_flcn_pio_dmem_wr_init, .wr = gm200_flcn_pio_dmem_wr,
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c +1 -1
@@ -225,7 +225,7 @@ gm20b_pmu_init(struct nvkm_pmu *pmu) pmu->initmsg_received = false; -nvkm_falcon_load_dmem (falcon, &args, addr_args,sizeof (args),0 ); +nvkm_falcon_pio_wr (falcon, (u8 *)&args,0 ,0 ,DMEM , addr_args,sizeof (args),0 , false);nvkm_falcon_start (falcon);return 0 ; }
Signature · 1 line
2.35.1
Diogo Ivo
Tested-byQuoted 32 lines · Ben Skeggs
Quoted 31 lines · Diogo Ivo
Quoted 16 lines · Ben Skeggs
Quoted 15 lines · Diogo Ivo
Quoted 12 lines · Ben Skeggs
Quoted 5 lines · Diogo Ivo
Quoted 4 lines · David Airlie
As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);Quoted 6 lines
Quoted 4 lines
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Hello,
Thank you for the patch! I can confirm that it fixes the problem on the Pixel C, and everything works as before the regression. With this, for the combination of patches
Quoted 8 lines
Quoted 3 lines
Tested-by Diogo Ivo <[email protected]>which I can resend after testing the final patch version.
Thank you (both!) for testing!
I've attached a "final" version of a patch that I'll send (assuming it still works ;)) after re-testing. There's only a minor change to avoid breaking the non-Tegra path, so I expect it should be fine.
Hello!
I have tested this new version and everything is working as before, so
Thank you,
Diogo
Nicolas Chauvet
Tested-byQuoted 33 lines · Ben Skeggs
Quoted 31 lines · Diogo Ivo
Quoted 16 lines · Ben Skeggs
Quoted 15 lines · Diogo Ivo
Quoted 12 lines · Ben Skeggs
Quoted 5 lines · Diogo Ivo
Quoted 4 lines · David Airlie
As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?In addition to Dave's change, can you try changing the
nvkm_falcon_load_dmem()call ingm20b_pmu_init()to:
nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false);Quoted 6 lines
Quoted 4 lines
Chiming in just to say that with this change I see the same as Nicolas except that the init message size is 255 instead of 0:
[ 2.196934] nouveau 57000000.gpu: pmu: unexpected init message size 255 vs 42I've attached an entirely untested patch (to go on top of the other hacks/fixes so far), that will hopefully get us a little further.
Hello,
Thank you for the patch! I can confirm that it fixes the problem on the Pixel C, and everything works as before the regression. With this, for the combination of patches
Quoted 8 lines
Quoted 3 lines
Tested-by Diogo Ivo <[email protected]>which I can resend after testing the final patch version.
Thank you (both!) for testing!
I've attached a "final" version of a patch that I'll send (assuming it still works ;)) after re-testing. There's only a minor change to avoid breaking the non-Tegra path, so I expect it should be fine.
Fine with me.
Thanks.
Quoted 73 lines · David Airlie
Quoted 71 lines · Diogo Ivo
Hello,
Commit
2541626cfb79breaks GM20B probe with
the following kernel log:[ 2.153892] ------------[ cut here ]------------ [ 2.153897] WARNING: CPU: 1 PID: 36 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:273 gf100_vmm_valid+0x2c4/0x390 [ 2.153916] Modules linked in: [ 2.153922] CPU: 1 PID: 36 Comm: kworker/u8:1 Not tainted 6.1.0+ #1 [ 2.153929] Hardware name: Google Pixel C (DT) [ 2.153933] Workqueue: events_unbound deferred_probe_work_func [ 2.153943] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.153950] pc : gf100_vmm_valid+0x2c4/0x390 [ 2.153959] lr : gf100_vmm_valid+0xb4/0x390 [ 2.153966] sp : ffffffc009e134b0 [ 2.153969] x29: ffffffc009e134b0 x28: 0000000000000000 x27: ffffffc008fd44c8 [ 2.153979] x26: 00000000ffffffea x25: ffffffc0087b98d0 x24: ffffff8080f89038 [ 2.153987] x23: ffffff8081fadc08 x22: 0000000000000000 x21: 0000000000000000 [ 2.153995] x20: ffffff8080f8a000 x19: ffffffc009e13678 x18: 0000000000000000 [ 2.154003] x17: f37a8b93418958e6 x16: ffffffc009f0d000 x15: 0000000000000000 [ 2.154011] x14: 0000000000000002 x13: 000000000003a020 x12: ffffffc008000000 [ 2.154019] x11: 0000000102913000 x10: 0000000000000000 x9 : 0000000000000000 [ 2.154026] x8 : ffffffc009e136d8 x7 : ffffffc008fd44c8 x6 : ffffff80803d0f00 [ 2.154034] x5 : 0000000000000000 x4 : ffffff8080f88c00 x3 : 0000000000000010 [ 2.154041] x2 : 000000000000000c x1 : 00000000ffffffea x0 : 00000000ffffffea [ 2.154050] Call trace: [ 2.154053] gf100_vmm_valid+0x2c4/0x390 [ 2.154061] nvkm_vmm_map_valid+0xd4/0x204 [ 2.154069] nvkm_vmm_map_locked+0xa4/0x344 [ 2.154076] nvkm_vmm_map+0x50/0x84 [ 2.154083] nvkm_firmware_mem_map+0x84/0xc4 [ 2.154094] nvkm_falcon_fw_oneinit+0xc8/0x320 [ 2.154101] nvkm_acr_oneinit+0x428/0x5b0 [ 2.154109] nvkm_subdev_oneinit_+0x50/0x104 [ 2.154114] nvkm_subdev_init_+0x3c/0x12c [ 2.154119] nvkm_subdev_init+0x60/0xa0 [ 2.154125] nvkm_device_init+0x14c/0x2a0 [ 2.154133] nvkm_udevice_init+0x60/0x9c [ 2.154140] nvkm_object_init+0x48/0x1b0 [ 2.154144] nvkm_ioctl_new+0x168/0x254 [ 2.154149] nvkm_ioctl+0xd0/0x220 [ 2.154153] nvkm_client_ioctl+0x10/0x1c [ 2.154162] nvif_object_ctor+0xf4/0x22c [ 2.154168] nvif_device_ctor+0x28/0x70 [ 2.154174] nouveau_cli_init+0x150/0x590 [ 2.154180] nouveau_drm_device_init+0x60/0x2a0 [ 2.154187] nouveau_platform_device_create+0x90/0xd0 [ 2.154193] nouveau_platform_probe+0x3c/0x9c [ 2.154200] platform_probe+0x68/0xc0 [ 2.154207] really_probe+0xbc/0x2dc [ 2.154211] __driver_probe_device+0x78/0xe0 [ 2.154216] driver_probe_device+0xd8/0x160 [ 2.154221] __device_attach_driver+0xb8/0x134 [ 2.154226] bus_for_each_drv+0x78/0xd0 [ 2.154230] __device_attach+0x9c/0x1a0 [ 2.154234] device_initial_probe+0x14/0x20 [ 2.154239] bus_probe_device+0x98/0xa0 [ 2.154243] deferred_probe_work_func+0x88/0xc0 [ 2.154247] process_one_work+0x204/0x40c [ 2.154256] worker_thread+0x230/0x450 [ 2.154261] kthread+0xc8/0xcc [ 2.154266] ret_from_fork+0x10/0x20 [ 2.154273] ---[ end trace 0000000000000000 ]--- [ 2.154278] nouveau 57000000.gpu: pmu: map -22 [ 2.154285] nouveau 57000000.gpu: acr: one-time init failed, -22 [ 2.154559] nouveau 57000000.gpu: init failed with -22 [ 2.154564] nouveau: DRM-master:00000000:00000080: init failed with -22 [ 2.154574] nouveau 57000000.gpu: DRM-master: Device allocation failed: -22 [ 2.162905] nouveau: probe of 57000000.gpu failed with error -22
Quoted 8 lines
Quoted 1 line
#regzbot introduced:
2541626cfb79As a quick check can you try changing
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target from
NVKM_MEM_TARGET_HOSTtoNVKM_MEM_TARGET_NCOH?Dave.
I'm also reproducing the error on jetson-tx1 running 6.2-rc4 (rawhide nodebug kernel) on Fedora 37 userspace.
With this change, the error is different:
nouveau: loading out-of-tree module taints kernel.
nouveau: module verification failed: signature and/or required key missing - tainting kernel
Failed to set up IOMMU for device 57000000.gpu; retaining platform DMA ops nouveau 57000000.gpu: NVIDIA GM20B (12b000a1)
nouveau 57000000.gpu: imem: using IOMMU
Unable to handle kernel execution of user memory at virtual address
0000000000000000
Mem abort info:
ESR = 0x0000000086000004
EC = 0x21: IABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x04: level 0 translation fault
user pgtable: 4k pages, 48-bit VAs, pgdp=000000013e136000 [0000000000000000] pgd=0000000000000000, p4d=0000000000000000
Internal error: Oops: 0000000086000004 [#1] SMP Modules linked in: nouveau(OE+) drm_ttm_helper ttm snd_seq_dummy
snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink qrtr sunrpc snd_soc_tegra_audio_graph_card snd_soc_audio_graph_card snd_soc_simple_card_utils snd_soc_core snd_compress snd_hda_codec_hdmi ac97_bus snd_hda_tegra snd_pcm_dmaengine snd_hda_codec max77620_thermal vfat snd_hda_core fat snd_hwdep snd_seq cpufreq_dt tegra_xudc snd_seq_device usb_conn_gpio tegra_soctherm snd_pcm udc_core snd_timer snd at24 soundcore zram r8152 mii panel_simple mmc_block tegra_drm drm_dp_aux_bus rtc_max77686 drm_display_helper lp855x_bl cec crct10dif_ce polyval_ce polyval_generic xhci_tegra sdhci_tegra ghash_ce sdhci_pltfm phy_tegra_xusb sdhci host1x ahci_tegra gpio_keys tegra210_emc cqhci rtc_tegra i2c_tegra ip6_tables
abrt-dump-journal-oops: Found oopses: 1
abrt-dump-journal-oops: Creating problem directories
Can't find a meaningful backtrace for hashing in '.' Preserving oops '.' because DropNotReportableOopses is 'no' Reported 1 kernel oopses to Abrt
System encountered a non-fatal error in ??()
ip_tables fuse
CPU: 3 PID: 15789 Comm: insmod Tainted: G OE ------- --- 6.2.0-0.rc4.31.fc38.aarch64 #1 Hardware name: nvidia,p2371-2180 NVIDIA P2371-2180/NVIDIA P2371-2180, BIOS 2022.10 10/01/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : 0x0 lr : nvkm_falcon_load_dmem+0x60/0x80 [nouveau]
sp : ffff8000141034c0
x29: ffff8000141034c0 x28: ffff0000865d2008 x27: ffff0000c87b8638
x26: 00000000000000ff x25: ffff0000865d20a0 x24: 0000000000000000
x23: ffff0000f4ef34f8 x22: 000000000000002c x21: 0000000000005fd4
x20: ffff800014103534 x19: ffff0000f4ef34b8 x18: ffffffffffffffff
x17: 000000040044ffff x16: 00500074b5503510 x15: ffff8000141035d8
x14: ffff0000c87b8506 x13: 0000000000000001 x12: 0000000000000018
x11: 0000000000000001 x10: fffffffffffffec0 x9 : ffff8000091efa90 x8 : ffff800014103560 x7 : 0000000000000000 x6 : 0000000434da8f65 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 000000000000002c x2 : 0000000000005fd4 x1 : ffff800014103534 x0 : ffff0000f4ef34b8
Call trace: 0x0 gm20b_pmu_init+0x70/0x90 [nouveau] nvkm_pmu_init+0x28/0x40 [nouveau] nvkm_subdev_init_+0x68/0x134 [nouveau] nvkm_subdev_init+0x68/0xb0 [nouveau] nvkm_device_init+0x154/0x2ac [nouveau] nvkm_udevice_init+0x68/0xa0 [nouveau] nvkm_object_init+0x50/0x1b4 [nouveau] nvkm_ioctl_new+0x154/0x280 [nouveau] nvkm_ioctl+0xd8/0x230 [nouveau] nvkm_client_ioctl+0x18/0x24 [nouveau] nvif_object_ctor+0xec/0x1a0 [nouveau] nvif_device_ctor+0x30/0x7c [nouveau] nouveau_cli_init+0x144/0x574 [nouveau] nouveau_drm_device_init+0x68/0x2b0 [nouveau] nouveau_platform_device_create+0x98/0xd0 [nouveau] nouveau_platform_probe+0x34/0x90 [nouveau] platform_probe+0x70/0xd0 really_probe+0xc8/0x3e4 __driver_probe_device+0x84/0x190 driver_probe_device+0x44/0x11c __driver_attach+0xf8/0x200 bus_for_each_dev+0x6c/0xac driver_attach+0x2c/0x40 bus_add_driver+0x188/0x250 driver_register+0x80/0x13c __platform_driver_register+0x30/0x3c nouveau_drm_init+0x9c/0x1000 [nouveau] do_one_initcall+0x4c/0x2a0 do_init_module+0x50/0x200 load_module+0x9b0/0xb10 __do_sys_finit_module+0x98/0x100 __arm64_sys_finit_module+0x28/0x34 invoke_syscall+0x78/0x100 el0_svc_common.constprop.0+0x4c/0xf4 do_el0_svc+0x34/0x4c el0_svc+0x34/0x10c el0t_64_sync_handler+0x114/0x120 el0t_64_sync+0x194/0x198 Code: bad PC value ---[ end trace 0000000000000000 ]---