[Public]

> -----Original Message-----
> From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> On Behalf Of Tj
> Sent: Wednesday, August 23, 2023 4:54 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: 6.5.0-rc7: RIP: 0010:radeon_gem_va_ioctl+0x3dc/0x4f0 [radeon]
>
> Recently, and I think especially since 6.5.0-rc5 (but possibly earlier), on 
> resume
> from S3 suspend the host sees:
>

If this is a regression can you bisect?  There are very few changes for the 
radeon driver these days.

Alex

> $ uname -r; lspci -nnk -d ::0300
> 6.5.0-rc7+debian+tj
> 0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
> [AMD/ATI] Cape Verde GL [FirePro W4100] [1002:682c]
>          Subsystem: Dell Cape Verde GL [FirePro W4100] [1028:2b1e]
>          Kernel driver in use: radeon
>          Kernel modules: radeon, amdgpu
>
>
> Aug 23 09:34:22 sunny kernel: BUG: kernel NULL pointer dereference,
> address: 00000000000001e8 Aug 23 09:34:22 sunny kernel: #PF: supervisor
> read access in kernel mode Aug 23 09:34:22 sunny kernel: #PF:
> error_code(0x0000) - not-present page Aug 23 09:34:22 sunny kernel: PGD
> 31fde8067 P4D 31fde8067 PUD 0 Aug 23 09:34:22 sunny kernel: Oops: 0000
> [#2] PREEMPT SMP NOPTI
> Aug 23 09:34:22 sunny kernel: CPU: 13 PID: 404742 Comm: Renderer
> Tainted: G      D W  OE      6.5.0-rc7+debian+tj #75
> Aug 23 09:34:22 sunny kernel: Hardware name: System manufacturer System
> Product Name/PRIME X370-PRO, BIOS 6042 04/28/2022 Aug 23 09:34:22
> sunny kernel: RIP: 0010:radeon_gem_va_ioctl+0x3dc/0x4f0 [radeon] Aug 23
> 09:34:22 sunny kernel: Code: d2 e6 a7 c0 e8 c5 98 2f ee c7 43 04 01 00 00 00
> 41 bd ea ff ff ff e9 b3 fe ff ff 49 8b 41 70 4c 89 ce 4c 89 e7 4c 89 4c 24 08 
> <48>
> 8b > Aug 23 09:34:22 sunny kernel: RSP: 0018:ffffa6e9c5227bf0 EFLAGS:
> 00010282 Aug 23 09:34:22 sunny kernel: RAX: 0000000000000000 RBX:
> ffffa6e9c5227d28 RCX: 0000000000000000 Aug 23 09:34:22 sunny kernel:
> RDX: 0000000000000001 RSI: ffff9825ea5a9880 RDI: ffff9823c29dc000 Aug
> 23 09:34:22 sunny kernel: RBP: ffffa6e9c5227c90 R08: 0000000000000000
> R09: ffff9825ea5a9880 Aug 23 09:34:22 sunny kernel: R10:
> 000000000007bee7 R11: ffffa6e900858000 R12: ffff9823c29dc000 Aug 23
> 09:34:22 sunny kernel: R13: 0000000000000000 R14: ffffa6e9c5227c08
> R15: ffff982620c00c78 Aug 23 09:34:22 sunny kernel: FS:
> 00007fd4e32be6c0(0000) GS:ffff982aced40000(0000)
> knlGS:0000000000000000 Aug 23 09:34:22 sunny kernel: CS:  0010 DS:
> 0000 ES: 0000 CR0: 0000000080050033 Aug 23 09:34:22 sunny kernel: CR2:
> 00000000000001e8 CR3: 00000004609b8000 CR4: 0000000000350ee0
> Aug 23 09:34:22 sunny kernel: Call Trace:
> Aug 23 09:34:22 sunny kernel:  <TASK>
> Aug 23 09:34:22 sunny kernel:  ? __die+0x1f/0x70 Aug 23 09:34:22 sunny
> kernel:  ? page_fault_oops+0x159/0x470 Aug 23 09:34:22 sunny kernel:  ?
> srso_return_thunk+0x5/0x10 Aug 23 09:34:22 sunny kernel:  ?
> do_user_addr_fault+0x65/0x640 Aug 23 09:34:22 sunny kernel:  ?
> exc_page_fault+0x73/0x170 Aug 23 09:34:22 sunny kernel:  ?
> asm_exc_page_fault+0x22/0x30 Aug 23 09:34:22 sunny kernel:  ?
> radeon_gem_va_ioctl+0x3dc/0x4f0 [radeon] Aug 23 09:34:22 sunny kernel:  ?
> tomoyo_path_number_perm+0x68/0x1d0
> Aug 23 09:34:22 sunny kernel:  ? __pfx_radeon_gem_va_ioctl+0x10/0x10
> [radeon] Aug 23 09:34:22 sunny kernel:  drm_ioctl_kernel+0xc1/0x160 [drm]
> Aug 23 09:34:22 sunny kernel:  drm_ioctl+0x24c/0x490 [drm] Aug 23
> 09:34:22 sunny kernel:  ? __pfx_radeon_gem_va_ioctl+0x10/0x10 [radeon]
> Aug 23 09:34:22 sunny kernel:  radeon_drm_ioctl+0x49/0x80 [radeon] Aug
> 23 09:34:22 sunny kernel:  __x64_sys_ioctl+0x93/0xd0 Aug 23 09:34:22
> sunny kernel:  do_syscall_64+0x5b/0xc0 Aug 23 09:34:22 sunny kernel:  ?
> srso_return_thunk+0x5/0x10 Aug 23 09:34:22 sunny kernel:  ?
> __fget_light+0x9d/0x100 Aug 23 09:34:22 sunny kernel:  ?
> srso_return_thunk+0x5/0x10 Aug 23 09:34:22 sunny kernel:  ?
> fpregs_assert_state_consistent+0x22/0x50
> Aug 23 09:34:22 sunny kernel:  ? srso_return_thunk+0x5/0x10 Aug 23
> 09:34:22 sunny kernel:  ? exit_to_user_mode_prepare+0x40/0x1d0
> Aug 23 09:34:22 sunny kernel:  ? srso_return_thunk+0x5/0x10 Aug 23
> 09:34:22 sunny kernel:  ? syscall_exit_to_user_mode+0x27/0x40
> Aug 23 09:34:22 sunny kernel:  ? srso_return_thunk+0x5/0x10 Aug 23
> 09:34:22 sunny kernel:  ? do_syscall_64+0x67/0xc0 Aug 23 09:34:22 sunny
> kernel:  ? srso_return_thunk+0x5/0x10 Aug 23 09:34:22 sunny kernel:  ?
> syscall_exit_to_user_mode+0x27/0x40
> Aug 23 09:34:22 sunny kernel:  ? srso_return_thunk+0x5/0x10 Aug 23
> 09:34:22 sunny kernel:  ? do_syscall_64+0x67/0xc0 Aug 23 09:34:22 sunny
> kernel:  ? fpregs_assert_state_consistent+0x22/0x50
> Aug 23 09:34:22 sunny kernel:  ? srso_return_thunk+0x5/0x10 Aug 23
> 09:34:22 sunny kernel:  ? exit_to_user_mode_prepare+0x40/0x1d0
> Aug 23 09:34:22 sunny kernel:
> entry_SYSCALL_64_after_hwframe+0x6e/0xd8
> Aug 23 09:34:22 sunny kernel: RIP: 0033:0x7fd4fd83db3b Aug 23 09:34:22
> sunny kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00
> 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05
> <89> c2 > Aug 23 09:34:22 sunny kernel: RSP: 002b:00007fd4e32bbe10
> EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Aug 23 09:34:22 sunny
> kernel: RAX: ffffffffffffffda RBX: 00007fd49cb8a040 RCX: 00007fd4fd83db3b
> Aug 23 09:34:22 sunny kernel: RDX: 00007fd4e32bbec0 RSI:
> 00000000c018646b RDI: 000000000000002d Aug 23 09:34:22 sunny
> kernel: RBP: 00007fd4e32bbec0 R08: 00007fd4fd5ca3f0 R09:
> 00007fd48adeff80 Aug 23 09:34:22 sunny kernel: R10: 000000000007e000
> R11: 0000000000000246 R12: 00000000c018646b Aug 23 09:34:22 sunny
> kernel: R13: 000000000000002d R14: 00007fd4fd5ca358 R15:
> 00000000000c9000 Aug 23 09:34:22 sunny kernel:  </TASK> Aug 23
> 09:34:22 sunny kernel: Modules linked in: uinput veth rfcomm
> snd_seq_dummy snd_hrtimer snd_seq snd_seq_device nft_masq
> nvme_fabrics rdma_ucm ib_uverbs rdma_cm iw_c> Aug 23 09:34:22 sunny
> kernel:  bluetooth pcspkr sp5100_tco acpi_cpufreq snd_hda_core watchdog
> wmi_bmof snd_hwdep mxm_wmi ccp k10temp i2c_piix4 snd_pcm rng_core
> snd_timer > Aug 23 09:34:22 sunny kernel:  crct10dif_generic
> crct10dif_pclmul scsi_common usb_common crct10dif_common gpio_amdpt
> wmi gpio_generic Aug 23 09:34:22 sunny kernel: CR2: 00000000000001e8
> Aug 23 09:34:22 sunny kernel: ---[ end trace 0000000000000000 ]--- Aug 23
> 09:34:22 sunny kernel: RIP: 0010:radeon_gem_va_ioctl+0x3dc/0x4f0
> [radeon] Aug 23 09:34:22 sunny kernel: Code: d2 e6 a7 c0 e8 c5 98 2f ee c7
> 43 04 01 00 00 00 41 bd ea ff ff ff e9 b3 fe ff ff 49 8b 41 70 4c 89 ce 4c 89 
> e7
> 4c 89 4c 24 08 <48> 8b > Aug 23 09:34:22 sunny kernel: RSP:
> 0018:ffffa6e9ccd67c10 EFLAGS: 00010202 Aug 23 09:34:22 sunny kernel:
> RAX: 0000000000000000 RBX: ffffa6e9ccd67d48 RCX: 0000000000000000
> Aug 23 09:34:22 sunny kernel: RDX: 0000000000000001 RSI:
> ffff9823c5fd3200 RDI: ffff9823c29dc000 Aug 23 09:34:22 sunny kernel: RBP:
> ffffa6e9ccd67cb0 R08: 0000000000000000 R09: ffff9823c5fd3200 Aug 23
> 09:34:22 sunny kernel: R10: 000000000004be00 R11: ffffa6e900858000
> R12: ffff9823c29dc000 Aug 23 09:34:22 sunny kernel: R13:
> 0000000000000000 R14: ffffa6e9ccd67c28 R15: ffff982591b21478 Aug 23
> 09:34:22 sunny kernel: FS:  00007fd4e32be6c0(0000)
> GS:ffff982aced40000(0000) knlGS:0000000000000000 Aug 23 09:34:22
> sunny kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 23
> 09:34:22 sunny kernel: CR2: 00000000000001e8 CR3: 00000004609b8000
> CR4: 0000000000350ee0
>
> Note: tainted due to building out-of-tree it87 to support mobo sensors

Reply via email to