test: add sysdata loader tester
This add a load tester for the new extensible sysdata
file loader, part firmware_class. The usermode helper
can be safely ignored here.
The sysdata API has two main interfaces, synchronous and
asynchronous, we provide 4 types of trigger tests for
each:
* trigger_request: sync simple loader
* trigger_request_keep: sync, asks for us to manage freeing sysdata
* trigger_request_opt: sync, the file is optional
* trigger_request_opt_default: sync, optional, try test-sysdata.bin
* trigger_async_request: async simple loader
* trigger_async_request_keep: async, asks us to manage freeing sysdata
* trigger_async_request_opt: async, the file is optional
* trigger_async_request_opt_default: async, optional, try test-sysdata.bin
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
3 files changed