Hi Mike, On Wed, Sep 08, 2021 at 12:08:40PM +0300, Mike Rapoport wrote:
On Tue, Sep 07, 2021 at 11:40:30PM +0800, Chen Yu wrote:
Introduce a simple test for Platform Firmware Runtime Update and Telemetry drivers. It is based on ioctl to either update firmware driver or code injection, and read corresponding PFRU Telemetry log into user space.
[snip..
+struct updated_result {
- enum dsm_status status;
- enum dsm_status ext_status;
- unsigned long low_auth_time;
- unsigned long high_auth_time;
- unsigned long low_exec_time;
- unsigned long high_exec_time;
+};
Most of these types and constants seem to be a copy of uapu/linux/pfru.h. Shouldn't the test get them from there?
Yes they have shared structures. The next version will reuse the uapi header.
thanks, Chenyu