]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
GenWQE: Add sysfs interface for bitstream reload
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Wed, 4 Jun 2014 13:57:50 +0000 (10:57 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 21:14:27 +0000 (14:14 -0700)
commitc1f732ad767e37bd1d41043cbdefc0874b4d05e5
treee4e80d6cd088b93acdb7d8078bb7d726a37f8ffc
parentfc51768ba24077c8148067036e1555a8a978bb99
GenWQE: Add sysfs interface for bitstream reload

This patch adds an interface on sysfs for userspace to request a card
bitstream reload. It sets the appropriate register and try to perform a
fundamental reset on the PCIe slot for the card to reload the bitstream
from the chosen partition.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-driver-genwqe
drivers/misc/genwqe/card_base.c
drivers/misc/genwqe/card_sysfs.c
include/uapi/linux/genwqe/genwqe_card.h