mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jimmie Mayfield <mayfield@sackheads.org>
To: linux-kernel@vger.kernel.org
Subject: Trying to reset a PCIe device and scratching my head...
Date: Mon, 27 Sep 2010 22:05:48 -0400	[thread overview]
Message-ID: <20100928020548.GA90230@sackheads.org> (raw)


Hello.  I'm in the process of writing a device driver for a PCIe
device where the bulk of the logic, including the PCIe interface, is 
implemented on a couple of large FPGAs.  Current target platform is x86 
Linux.

Having the PCIe interface implemented inside FPGA 'A' makes upgrading
that particular FPGA rather troublesome.  In a perfect world, one would
be able to upgrade the FPGA without having to reboot the machine.  The
hardware guys have designed the card to reload that FPGA image upon a
slot reset...either fundamental or hot.  (If I could guarantee the
card would always be plugged into a hotplug-capable slot, I suppose I could
forge a hotplug event and toggle power to the slot.  But I can't impose
that requirement on customers.)

So I'd like to be able to send either a fundamental or hot reset to the
device but so far I've had no success.  Is there a recommended way of doing 
this on x86 Linux?  

Jimmie


             reply	other threads:[~2010-09-28  2:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28  2:05 Jimmie Mayfield [this message]
2010-09-28  7:28 ` Clemens Ladisch
2010-09-28 16:06   ` Jesse Barnes
2010-09-28 19:13     ` Jimmie Mayfield

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=20100928020548.GA90230@sackheads.org \
    --to=mayfield@sackheads.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome