mirror of
https://github.com/torvalds/linux.git
synced 2026-01-24 23:16:46 +00:00
ocxl: control via sysfs whether the FPGA is reloaded on a link reset
Some opencapi FPGA images allow to control if the FPGA should be reloaded on the next adapter reset. If it is supported, the image specifies it through a Vendor Specific DVSEC in the config space of function 0. Signed-off-by: Philippe Bergheaud <felix@linux.ibm.com> Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200619140439.153962-1-fbarrat@linux.ibm.com
This commit is contained in:
committed by
Michael Ellerman
parent
acccc984c1
commit
87db7579eb
@@ -41,5 +41,6 @@
|
||||
#define OCXL_DVSEC_VENDOR_CFG_VERS 0x0C
|
||||
#define OCXL_DVSEC_VENDOR_TLX_VERS 0x10
|
||||
#define OCXL_DVSEC_VENDOR_DLX_VERS 0x20
|
||||
#define OCXL_DVSEC_VENDOR_RESET_RELOAD 0x38
|
||||
|
||||
#endif /* _OCXL_CONFIG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user