[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100928020548.GA90230@sackheads.org>
Date: Mon, 27 Sep 2010 22:05:48 -0400
From: Jimmie Mayfield <mayfield@...kheads.org>
To: linux-kernel@...r.kernel.org
Subject: Trying to reset a PCIe device and scratching my head...
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists