RE: [PATCH Part2 v6 05/49] x86/sev: Add RMP entry lookup helpers

From: Kalra, Ashish
Date: Mon Aug 01 2022 - 18:04:52 EST


[AMD Official Use Only - General]

Hello Boris,

>> + * The RMP entry format is not architectural. The format is defined in PPR
>> + * Family 19h Model 01h, Rev B1 processor.
>> + */
>> +struct __packed rmpentry {

>That __packed goes...

>> + union {
>> + struct {
>> + u64 assigned : 1,
>> + pagesize : 1,
>> + immutable : 1,
>> + rsvd1 : 9,
>> + gpa : 39,
>> + asid : 10,
>> + vmsa : 1,
>> + validated : 1,
>> + rsvd2 : 1;
>> + } info;
>> + u64 low;
>> + };
>> + u64 high;
>> +};

>... here, at the end.

Yes, will fix that.

Thanks,
Ashish