lkml.org 
[lkml]   [2021]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 5/7] iommu/amd: Add support for Guest IO protection
From
Date
Joerg,

On 3/18/21 10:31 PM, Joerg Roedel wrote:
> On Fri, Mar 12, 2021 at 03:04:09AM -0600, Suravee Suthikulpanit wrote:
>> @@ -519,6 +521,7 @@ struct protection_domain {
>> spinlock_t lock; /* mostly used to lock the page table*/
>> u16 id; /* the domain id written to the device table */
>> int glx; /* Number of levels for GCR3 table */
>> + bool giov; /* guest IO protection domain */
>
> Could this be turned into a flag?
>

Good point. I'll convert to use the protection_domain.flags.

Thanks,
Suravee

\
 
 \ /
  Last update: 2021-03-25 14:07    [W:0.072 / U:2.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site