public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: linas@austin.ibm.com (Linas Vepstas)
To: linux-pci@atrey.karlin.mff.cuni.cz
Cc: linux-kernel@vger.kernel.org
Subject: PCI reset using x86 or x86-64 BIOS calls?
Date: Thu, 25 May 2006 11:35:25 -0500	[thread overview]
Message-ID: <20060525163524.GV25867@austin.ibm.com> (raw)


I've go a newbie x86 BIOS question:  is there a BIOS function that 
can be called to reset a PCI device? (By "reset a device" I mean
raise the #RST PCI signal line to electrical high for 1.5 seconds).
I know that BIOS does this during a soft reboot, but I was wondering
if there's a stand-alone function for doing this while the system is up
and running.

This question ame up during conversations about kexec. When kexec is
used to get out from under a crashed system, the PCI devices are 
typically in some unknown state, and need to be brought to heel. 
It seems to me that a brute-force reset would be a particularly 
straightforward way of doing this.

--linas

             reply	other threads:[~2006-05-25 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 16:35 Linas Vepstas [this message]
     [not found] <6gr2t-1Pp-9@gated-at.bofh.it>
2006-05-26  1:52 ` PCI reset using x86 or x86-64 BIOS calls? Robert Hancock
2006-05-26 14:38   ` Lennart Sorensen
2006-05-26 22:01   ` Linas Vepstas

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=20060525163524.GV25867@austin.ibm.com \
    --to=linas@austin.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    /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