lkml.org 
[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Part2 PATCH v5.2 12.1/31] crypto: ccp: Define SEV userspace ioctl and command id
From
Date


On 10/12/2017 08:27 AM, Borislav Petkov wrote:
...

>
>> +/**
>> + * struct sev_user_data_status - PLATFORM_STATUS command parameters
>> + *
>> + * @major: major API version
>> + * @minor: minor API version
>> + * @state: platform state
>> + * @owner: self-owned or externally owned
>> + * @config: platform config flags
>> + * @build: firmware build id for API version
>> + * @guest_count: number of active guests
>> + */
>> +struct sev_user_data_status {
>> + __u8 api_major; /* Out */
>> + __u8 api_minor; /* Out */
>> + __u8 state; /* Out */
>> + __u8 owner; /* Out */
>> + __u32 config; /* Out */
>> + __u8 build; /* Out */
>> + __u32 guest_count; /* Out */
>> +} __packed;
>> +
>
> After yesterday's discussion about the sev_data_status layout, that
> struct is not needed anymore, right?
>

Yes, we no longer need that structure.

-Brijesh

\
 
 \ /
  Last update: 2017-10-12 16:20    [W:0.099 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site