Re: [RFC 7/8] fpga-region: add sysfs interface
From: Jason Gunthorpe
Date: Wed Feb 22 2017 - 11:44:26 EST
On Tue, Feb 21, 2017 at 10:05:42PM -0800, Moritz Fischer wrote:
> That being said older drivers / fpga-mgr will not deal with newer features.
> TLV / KV or whatever doesn't change this fact, or am I missing something?
Often a scheme will have an OPTIONAL and REQUIRED flag for each
value. If a REQUIRED value is present but the parser does not
support it then the parse fails.
For instance, we could mark Encrypted as required, and a zynq driver
that does not support the Encrypted tag would not load the bitfile
rather than try to load it wrongly.
This can be forced into any of the approaches with various levels of