public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takao Indoh <indou.takao@jp.fujitsu.com>
To: dyoung@redhat.com
Cc: airlied@linux.ie, vgoyal@redhat.com, bhe@redhat.com,
	chaowang@redhat.com, linux-kernel@vger.kernel.org,
	ishii.hironobu@jp.fujitsu.com
Subject: Re: PCIE resetting graphic card
Date: Fri, 12 Jul 2013 11:39:25 +0900	[thread overview]
Message-ID: <51DF6C5D.1020904@jp.fujitsu.com> (raw)
In-Reply-To: <51DF6446.9090105@redhat.com>

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?




  reply	other threads:[~2013-07-12  2:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12  2:04 PCIE resetting graphic card Dave Young
2013-07-12  2:39 ` Takao Indoh [this message]
2013-07-12  2:52   ` Dave Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51DF6C5D.1020904@jp.fujitsu.com \
    --to=indou.takao@jp.fujitsu.com \
    --cc=airlied@linux.ie \
    --cc=bhe@redhat.com \
    --cc=chaowang@redhat.com \
    --cc=dyoung@redhat.com \
    --cc=ishii.hironobu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox