Re: [PATCH] drm/radeon: Fix kernel panic on shutdown

From: Borislav Petkov
Date: Mon Oct 31 2016 - 17:52:10 EST


On Mon, Oct 31, 2016 at 04:21:55PM +0000, Deucher, Alexander wrote:
> > -----Original Message-----
> > From: Larry Finger [mailto:larry.finger@xxxxxxxxx] On Behalf Of Larry Finger
> > Sent: Monday, October 31, 2016 12:41 AM
> > To: Linus Torvalds
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; driver-devel@xxxxxxxxxxxxxxx; Larry
> > Finger; Deucher, Alexander
> > Subject: [PATCH] drm/radeon: Fix kernel panic on shutdown
> >
> > Since commit a481daa88fd4 ("drm/radeon: always apply pci shutdown
> > callbacks"), a Dell Latitude D600 laptop has crashed on shutdown. The
> > PCI Identification of the graphics adapter is "VGA compatible controller
> > [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV250/M9 GL [Mobility
> > FireGL 9000/Radeon 9000] [1002:4c66] (rev 01)".
> >
> > Prior to commit b0c80bd5d2e3 ("drm/radeon: fix up dp aux tear down (v2)"),
> > I have no idea where the panic happened as the screen was blanked before
> > the crash. Since that more recent change, the panic has been in routine
> > radeon_connector_unregister(), and has been shown to be due to a NULL
> > value in the ddc_bus member of struct drm_connector.
> >
> > Fixes: a481daa88fd4 ("drm/radeon: always apply pci shutdown callbacks")
> > Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> > Cc: Alex Deucher <alexander.deucher@xxxxxxx>
>
> Applied. Thanks!

Reported-and-tested-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.