Re: PCIE resetting graphic card
From: Takao Indoh
Date: Thu Jul 11 2013 - 22:40:01 EST
Hi Dave,
(2013/07/12 11:04), Dave Young wrote:
> Hi, Takao
>
> I know you are working on the PCIE resetting patches for the iommu kdump
> issue.
>
> You explicitly excluded the graphic card in your patch. I have some
> questions about this. Why can't we reset the graphic card like other
> pcie devices?
As far as I tested, the monitor blacks out after video controller is
reset, and we cannot know what's going on. So, for now display device is
not reset in my patch.
I'm not sure what we need to do to recover graphic card after its reset,
but my colleague said that we need to run BIOS code to get back legacy
VGA mode after reset. It seems not to be easy:-(
Maybe this document is helpful to do this.
http://www.coreboot.org/images/2/2b/Vgabios.pdf
Thanks,
Takao Indoh
>
> We have problems, if 1st kernel is in kms mode kdump kernel will have no
> chance to switch back to VGA console. There's no serial port on most of
> recent laptops thus it's difficult to debug kdump issue.
>
> So if we can reset graphic card as well, and if it works I wonder if the
> 2nd kdump kernel can use vga console with nomodeset?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/