Bug 217861

Summary: Kernel version 6.1.50 regression: radeonfb deactivate vga console
Product: Linux Reporter: Alexei Gradinari (alex2grad)
Component: KernelAssignee: Virtual assignee for kernel bugs (linux-kernel)
Status: RESOLVED ANSWERED    
Severity: high CC: bagasdotme, mario.limonciello
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.1.50 Subsystem:
Regression: Yes Bisected commit-id: 6db53af15444e7022640d7b8d5e7531d94e27a43

Description Alexei Gradinari 2023-09-01 20:28:03 UTC
Since kernel version 6.1.50 the VGA console stopped working on all HP ProLiant (G6 and G7) servers with [AMD/ATI] ES1000 VGA controller.

No issue with all kernel version 6.1.X before 6.1.50.
No issue with the kernel 6.1.50 with the reversed next commit:

commit 6db53af15444e7022640d7b8d5e7531d94e27a43
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Jan 11 16:41:08 2023 +0100
    fbdev/radeon: use pci aperture helpers

With the commit 6db53af15444e7022640d7b8d5e7531d94e27a43 there is kernel log "radeonfb 0000:01:03.0: vgaarb: deactivate vga console" and VGA console not working. Without this commit no such log and VGA console working.

Equipment:
HP ProLiant DL360 G7
01:03.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] ES1000 (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company ProLiant DL360 G5
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 23
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 2000 [size=256]
        Region 2: Memory at f1cf0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: radeonfb

HP ProLiant ML330 G6
01:03.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] ES1000 (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company ProLiant DL360 G5
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 23
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at fbef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: radeonfb
Comment 1 Bagas Sanjaya 2023-09-02 00:02:39 UTC
(In reply to Alexei Gradinari from comment #0)
> Since kernel version 6.1.50 the VGA console stopped working on all HP
> ProLiant (G6 and G7) servers with [AMD/ATI] ES1000 VGA controller.
> 
> No issue with all kernel version 6.1.X before 6.1.50.
> No issue with the kernel 6.1.50 with the reversed next commit:
> 
> commit 6db53af15444e7022640d7b8d5e7531d94e27a43
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Wed Jan 11 16:41:08 2023 +0100
>     fbdev/radeon: use pci aperture helpers
> 
> With the commit 6db53af15444e7022640d7b8d5e7531d94e27a43 there is kernel log
> "radeonfb 0000:01:03.0: vgaarb: deactivate vga console" and VGA console not
> working. Without this commit no such log and VGA console working.
> 
> Equipment:
> HP ProLiant DL360 G7
> 01:03.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> ES1000 (rev 02) (prog-if 00 [VGA controller])
>         Subsystem: Hewlett-Packard Company ProLiant DL360 G5
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping+ SERR+ FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Interrupt: pin A routed to IRQ 23
>         Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
>         Region 1: I/O ports at 2000 [size=256]
>         Region 2: Memory at f1cf0000 (32-bit, non-prefetchable) [size=64K]
>         Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>         Kernel driver in use: radeonfb
> 
> HP ProLiant ML330 G6
> 01:03.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> ES1000 (rev 02) (prog-if 00 [VGA controller])
>         Subsystem: Hewlett-Packard Company ProLiant DL360 G5
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping+ SERR+ FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Interrupt: pin A routed to IRQ 23
>         Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
>         Region 1: I/O ports at 3000 [size=256]
>         Region 2: Memory at fbef0000 (32-bit, non-prefetchable) [size=64K]
>         Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>         Kernel driver in use: radeonfb

Can you attach full dmesg?
Comment 2 Artem S. Tashkinov 2023-09-02 14:01:35 UTC
Please report here instead:

https://gitlab.freedesktop.org/drm/amd/-/issues
Comment 3 Alexei Gradinari 2023-09-02 18:14:58 UTC
reported https://gitlab.freedesktop.org/drm/amd/-/issues/2826
Comment 4 Artem S. Tashkinov 2023-09-03 09:57:34 UTC
AMD developers are on freedesktop's gitlab, there's no need to keep this bug open.