Re: 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
From: Karol Herbst
Date: Mon Aug 07 2023 - 07:50:48 EST
On Sun, Aug 6, 2023 at 11:40 PM Borislav Petkov <bp@xxxxxxxxx> 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
>