Borislav Petkov
2023-Aug-06 21:31 UTC
[Nouveau] 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
Hi folks, the patch in $Subject breaks booting here on one of my test boxes, see below. Reverting it ontop of -rc4 fixes the issue. Thx. [ 3.580535] ACPI: \_PR_.CP04: Found 4 idle states [ 3.585694] ACPI: \_PR_.CP05: Found 4 idle states [ 3.590852] ACPI: \_PR_.CP06: Found 4 idle states [ 3.596037] ACPI: \_PR_.CP07: Found 4 idle states [ 3.644065] Freeing initrd memory: 6740K [ 3.742932] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 3.750409] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 3.762111] serial 0000:00:16.3: enabling device (0000 -> 0003) [ 3.771589] 0000:00:16.3: ttyS1 at I/O 0xf0a0 (irq = 17, base_baud = 115200) is a 16550A [ 3.782503] Linux agpgart interface v0.103 [ 3.787805] ACPI: bus type drm_connector registered <--- boot stops here. It should continue with this: [ 3.795491] Console: switching to colour dummy device 80x25 [ 3.801933] nouveau 0000:03:00.0: vgaarb: deactivate vga console [ 3.808303] nouveau 0000:03:00.0: NVIDIA GT218 (0a8c00b1) [ 3.931002] nouveau 0000:03:00.0: bios: version 70.18.83.00.08 [ 3.941731] nouveau 0000:03:00.0: fb: 512 MiB DDR3 [ 4.110348] tsc: Refined TSC clocksource calibration: 3591.349 MHz [ 4.116627] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x33c466a1ab5, max_idle_ns: 440795209767 ns [ 4.126871] clocksource: Switched to clocksource tsc [ 4.252013] nouveau 0000:03:00.0: DRM: VRAM: 512 MiB [ 4.257088] nouveau 0000:03:00.0: DRM: GART: 1048576 MiB [ 4.262501] nouveau 0000:03:00.0: DRM: TMDS table version 2.0 [ 4.268333] nouveau 0000:03:00.0: DRM: DCB version 4.0 [ 4.273561] nouveau 0000:03:00.0: DRM: DCB outp 00: 02000360 00000000 [ 4.280104] nouveau 0000:03:00.0: DRM: DCB outp 01: 02000362 00020010 [ 4.286630] nouveau 0000:03:00.0: DRM: DCB outp 02: 028003a6 0f220010 [ 4.293176] nouveau 0000:03:00.0: DRM: DCB outp 03: 01011380 00000000 [ 4.299711] nouveau 0000:03:00.0: DRM: DCB outp 04: 08011382 00020010 [ 4.306243] nouveau 0000:03:00.0: DRM: DCB outp 05: 088113c6 0f220010 [ 4.312772] nouveau 0000:03:00.0: DRM: DCB conn 00: 00101064 [ 4.318520] nouveau 0000:03:00.0: DRM: DCB conn 01: 00202165 [ 4.329488] nouveau 0000:03:00.0: DRM: MM: using COPY for buffer copies [ 4.336261] stackdepot: allocating hash table of 1048576 entries via kvcalloc ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette
Thorsten Leemhuis
2023-Aug-07 09:49 UTC
[Nouveau] 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
[CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 06.08.23 23:31, Borislav Petkov wrote:> > the patch in $SubjectSide note, in case anyone cares: it was also included in 6.4.7.> breaks booting here on one of my test boxes, see > below. > > Reverting it ontop of -rc4 fixes the issue. > > Thx.Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced 2b5d1c29f6c4 #regzbot title drm/nouveau: stopped booting #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. 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.> [ 3.580535] ACPI: \_PR_.CP04: Found 4 idle states > [ 3.585694] ACPI: \_PR_.CP05: Found 4 idle states > [ 3.590852] ACPI: \_PR_.CP06: Found 4 idle states > [ 3.596037] ACPI: \_PR_.CP07: Found 4 idle states > [ 3.644065] Freeing initrd memory: 6740K > [ 3.742932] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > [ 3.750409] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A > [ 3.762111] serial 0000:00:16.3: enabling device (0000 -> 0003) > [ 3.771589] 0000:00:16.3: ttyS1 at I/O 0xf0a0 (irq = 17, base_baud = 115200) is a 16550A > [ 3.782503] Linux agpgart interface v0.103 > [ 3.787805] ACPI: bus type drm_connector registered > > <--- boot stops here. > > It should continue with this: > > [ 3.795491] Console: switching to colour dummy device 80x25 > [ 3.801933] nouveau 0000:03:00.0: vgaarb: deactivate vga console > [ 3.808303] nouveau 0000:03:00.0: NVIDIA GT218 (0a8c00b1) > [ 3.931002] nouveau 0000:03:00.0: bios: version 70.18.83.00.08 > [ 3.941731] nouveau 0000:03:00.0: fb: 512 MiB DDR3 > [ 4.110348] tsc: Refined TSC clocksource calibration: 3591.349 MHz > [ 4.116627] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x33c466a1ab5, max_idle_ns: 440795209767 ns > [ 4.126871] clocksource: Switched to clocksource tsc > [ 4.252013] nouveau 0000:03:00.0: DRM: VRAM: 512 MiB > [ 4.257088] nouveau 0000:03:00.0: DRM: GART: 1048576 MiB > [ 4.262501] nouveau 0000:03:00.0: DRM: TMDS table version 2.0 > [ 4.268333] nouveau 0000:03:00.0: DRM: DCB version 4.0 > [ 4.273561] nouveau 0000:03:00.0: DRM: DCB outp 00: 02000360 00000000 > [ 4.280104] nouveau 0000:03:00.0: DRM: DCB outp 01: 02000362 00020010 > [ 4.286630] nouveau 0000:03:00.0: DRM: DCB outp 02: 028003a6 0f220010 > [ 4.293176] nouveau 0000:03:00.0: DRM: DCB outp 03: 01011380 00000000 > [ 4.299711] nouveau 0000:03:00.0: DRM: DCB outp 04: 08011382 00020010 > [ 4.306243] nouveau 0000:03:00.0: DRM: DCB outp 05: 088113c6 0f220010 > [ 4.312772] nouveau 0000:03:00.0: DRM: DCB conn 00: 00101064 > [ 4.318520] nouveau 0000:03:00.0: DRM: DCB conn 01: 00202165 > [ 4.329488] nouveau 0000:03:00.0: DRM: MM: using COPY for buffer copies > [ 4.336261] stackdepot: allocating hash table of 1048576 entries via kvcalloc > ... > >
Karol Herbst
2023-Aug-07 11:49 UTC
[Nouveau] 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
On Sun, Aug 6, 2023 at 11:40?PM Borislav Petkov <bp at alien8.de> wrote:> > Hi folks, > > the patch in $Subject breaks booting here on one of my test boxes, see > below. > > Reverting it ontop of -rc4 fixes the issue. > > Thx. > > [ 3.580535] ACPI: \_PR_.CP04: Found 4 idle states > [ 3.585694] ACPI: \_PR_.CP05: Found 4 idle states > [ 3.590852] ACPI: \_PR_.CP06: Found 4 idle states > [ 3.596037] ACPI: \_PR_.CP07: Found 4 idle states > [ 3.644065] Freeing initrd memory: 6740K > [ 3.742932] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > [ 3.750409] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A > [ 3.762111] serial 0000:00:16.3: enabling device (0000 -> 0003) > [ 3.771589] 0000:00:16.3: ttyS1 at I/O 0xf0a0 (irq = 17, base_baud = 115200) is a 16550A > [ 3.782503] Linux agpgart interface v0.103 > [ 3.787805] ACPI: bus type drm_connector registered > > <--- boot stops here. >in what way does it stop? Just not progressing? That would be kinda concerning. Mind tracing with what arguments `nvkm_uevent_add` is called with and without that patch? Also a boot log with `nouveau.debug=trace` might be helpful here.> It should continue with this: > > [ 3.795491] Console: switching to colour dummy device 80x25 > [ 3.801933] nouveau 0000:03:00.0: vgaarb: deactivate vga console > [ 3.808303] nouveau 0000:03:00.0: NVIDIA GT218 (0a8c00b1) > [ 3.931002] nouveau 0000:03:00.0: bios: version 70.18.83.00.08 > [ 3.941731] nouveau 0000:03:00.0: fb: 512 MiB DDR3 > [ 4.110348] tsc: Refined TSC clocksource calibration: 3591.349 MHz > [ 4.116627] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x33c466a1ab5, max_idle_ns: 440795209767 ns > [ 4.126871] clocksource: Switched to clocksource tsc > [ 4.252013] nouveau 0000:03:00.0: DRM: VRAM: 512 MiB > [ 4.257088] nouveau 0000:03:00.0: DRM: GART: 1048576 MiB > [ 4.262501] nouveau 0000:03:00.0: DRM: TMDS table version 2.0 > [ 4.268333] nouveau 0000:03:00.0: DRM: DCB version 4.0 > [ 4.273561] nouveau 0000:03:00.0: DRM: DCB outp 00: 02000360 00000000 > [ 4.280104] nouveau 0000:03:00.0: DRM: DCB outp 01: 02000362 00020010 > [ 4.286630] nouveau 0000:03:00.0: DRM: DCB outp 02: 028003a6 0f220010 > [ 4.293176] nouveau 0000:03:00.0: DRM: DCB outp 03: 01011380 00000000 > [ 4.299711] nouveau 0000:03:00.0: DRM: DCB outp 04: 08011382 00020010 > [ 4.306243] nouveau 0000:03:00.0: DRM: DCB outp 05: 088113c6 0f220010 > [ 4.312772] nouveau 0000:03:00.0: DRM: DCB conn 00: 00101064 > [ 4.318520] nouveau 0000:03:00.0: DRM: DCB conn 01: 00202165 > [ 4.329488] nouveau 0000:03:00.0: DRM: MM: using COPY for buffer copies > [ 4.336261] stackdepot: allocating hash table of 1048576 entries via kvcalloc > ... > > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette >