public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Resetting a PCI device
@ 2001-04-27  9:52 dave.fraser
  2001-04-27 10:17 ` Francois Romieu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dave.fraser @ 2001-04-27  9:52 UTC (permalink / raw)
  To: linux-kernel

Is there any way of issuing a PCI reset (safely) without rebooting?  I am
developing a peripheral device (using a pci card with an FPGA and a plx9080
pci interface), and find that its local bus is prone to hanging up.  It
would be nice if I could just reset the entire device via the PCI reset,
without having to go through the hassle of a reboot.  Is this wishful
thinking?

- Dave

---------------------------------------------------------------------
 Dave Fraser
 Development Engineer
 BAE Systems, Ferry Road,
 Edinburgh, EH5 2XS
 Tel: +44 131 3434729
 Fax: +44 131 3434124
---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting a PCI device
  2001-04-27  9:52 Resetting a PCI device dave.fraser
@ 2001-04-27 10:17 ` Francois Romieu
  2001-04-27 10:29 ` Eric Pennamen
  2001-04-28  0:38 ` Tim Wright
  2 siblings, 0 replies; 4+ messages in thread
From: Francois Romieu @ 2001-04-27 10:17 UTC (permalink / raw)
  To: dave.fraser; +Cc: linux-kernel

dave.fraser@baesystems.com <dave.fraser@baesystems.com> ecrit :
> Is there any way of issuing a PCI reset (safely) without rebooting?  I am

No.

[...]
> without having to go through the hassle of a reboot.  Is this wishful
> thinking?

Yes. Try to narrow the circunstances under which the device locks and avoid
them at all cost is the best to be done.

-- 
Ueimor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting a PCI device
  2001-04-27  9:52 Resetting a PCI device dave.fraser
  2001-04-27 10:17 ` Francois Romieu
@ 2001-04-27 10:29 ` Eric Pennamen
  2001-04-28  0:38 ` Tim Wright
  2 siblings, 0 replies; 4+ messages in thread
From: Eric Pennamen @ 2001-04-27 10:29 UTC (permalink / raw)
  To: dave.fraser; +Cc: linux-kernel

Why don't do a local RESET by writing in CNTRL register of the PLX9080 ?
(PLX datasheet page 79 bit 29 and 28 for reset and reload eeprom config)

dave.fraser@baesystems.com a écrit :

> Is there any way of issuing a PCI reset (safely) without rebooting?  I am
> developing a peripheral device (using a pci card with an FPGA and a plx9080
> pci interface), and find that its local bus is prone to hanging up.  It
> would be nice if I could just reset the entire device via the PCI reset,
> without having to go through the hassle of a reboot.  Is this wishful
> thinking?
>
> - Dave
>
> ---------------------------------------------------------------------
>  Dave Fraser
>  Development Engineer
>  BAE Systems, Ferry Road,
>  Edinburgh, EH5 2XS
>  Tel: +44 131 3434729
>  Fax: +44 131 3434124
> ---------------------------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

--
__________________________________

Eric PENNAMEN
Service Etudes, R&D

NSI
Parc des Glaisins
6, avenue du Pré de Challes
BP 350
F-74943 ANNECY LE VIEUX Cedex

Téléphone   + 33 (0)4 50 09 46 30
Télécopie   + 33 (0)4 50 09 46 31

E-Mail :  Pennamen@nsi.fr
Internet : http://www.nsi.fr



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting a PCI device
  2001-04-27  9:52 Resetting a PCI device dave.fraser
  2001-04-27 10:17 ` Francois Romieu
  2001-04-27 10:29 ` Eric Pennamen
@ 2001-04-28  0:38 ` Tim Wright
  2 siblings, 0 replies; 4+ messages in thread
From: Tim Wright @ 2001-04-28  0:38 UTC (permalink / raw)
  To: dave.fraser; +Cc: linux-kernel

Not generally.
Systems that support hot-plug PCI also have the ability to reset individual
PCI slots (ISTR that it's a requirement). Sadly, this facility is not
generally available on "normal" systems.

Tim

On Fri, Apr 27, 2001 at 10:52:20AM +0100, dave.fraser@baesystems.com wrote:
> Is there any way of issuing a PCI reset (safely) without rebooting?  I am
> developing a peripheral device (using a pci card with an FPGA and a plx9080
> pci interface), and find that its local bus is prone to hanging up.  It
> would be nice if I could just reset the entire device via the PCI reset,
> without having to go through the hassle of a reboot.  Is this wishful
> thinking?
> 
> - Dave
> 
> ---------------------------------------------------------------------
>  Dave Fraser
>  Development Engineer
>  BAE Systems, Ferry Road,
>  Edinburgh, EH5 2XS
>  Tel: +44 131 3434729
>  Fax: +44 131 3434124
> ---------------------------------------------------------------------
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Tim Wright - timw@splhi.com or timw@aracnet.com or twright@us.ibm.com
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at http://lse.sourceforge.net/
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-28  0:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27  9:52 Resetting a PCI device dave.fraser
2001-04-27 10:17 ` Francois Romieu
2001-04-27 10:29 ` Eric Pennamen
2001-04-28  0:38 ` Tim Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox