]> asedeno.scripts.mit.edu Git - linux.git/commit
zynq-fpga: Only route PR via PCAP when required
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 7 Nov 2018 17:51:48 +0000 (11:51 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 20:58:27 +0000 (12:58 -0800)
commit9e9a615103e5aa209a2dfdf214ad34b187935a99
treef2cce0d35bf7ee972efa2a1db3f569fa148b4aaa
parent68f60538daa4bc3da5d0764d46f391916fba20fd
zynq-fpga: Only route PR via PCAP when required

The Xilinx Zynq FPGA driver takes ownership of the PR interface, making
it impossible to use the ICAP interface for partial reconfiguration.

This patch changes the driver to only activate PR over PCAP while the
device is actively being accessed by the driver for programming.

This allows both PCAP and ICAP interfaces to be used for PR.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/zynq-fpga.c