Bug 217764

Summary: nouveau: system hangs when changing pstate on GeForce GT 320M (NVAF (MCP89))
Product: Drivers Reporter: dswdev (dswdev)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: normal    
Priority: P3    
Hardware: i386   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Crash log

Description dswdev 2023-08-04 21:19:41 UTC
Created attachment 304780 [details]
Crash log

System hangs after pstate is changed with /sys/kernel/debug/dri/0/pstate interface to any option (like 0f). It hangs sometimes right after changing, and sometimes after few moments. According to kernel log it seems it attempts to divide by zero for some reason in gt215_clk_info (drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c) and fails with divide by zero interrupt which causes system to hang. It happens on MacbookPro7,1 (Macbook Pro 13 inch Mid 2010) with NVIDIA GeForce GT 320M on Fedora 38 with Linux version 6.4.7-200.fc38.x86_64.
Comment 1 Artem S. Tashkinov 2023-08-05 08:08:59 UTC
Please report here instead:

https://gitlab.freedesktop.org/drm/nouveau/-/issues/
Comment 2 dswdev 2023-08-05 10:50:18 UTC
Sure, thank you for answer.