Thread (16 messages) 16 messages, 5 authors, 2021-09-14

Re: [PATCH 5/5][RFC] selftests/pfru: add test for Platform Firmware Runtime Update and Telemetry

From: Chen Yu <yu.c.chen@intel.com>
Date: 2021-09-14 07:03:09
Also in: linux-kselftest, lkml

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:
quoted
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.. 
quoted
+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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help