RE: [PATCH RFC 1/4] iommu/vt-d: Modify device_def_domain_type() to use at runtime

2019-07-25 Thread Prakhya, Sai Praneeth
> On Tue, Jul 02, 2019 at 06:53:59PM -0700, Sai Praneeth Prakhya wrote: > > device_def_domain_type() determines the domain type a device could > > have and it's called only during boot. But, to change the domain of a > > group through sysfs, kernel has to call this function during runtime. > > Henc

Re: [PATCH RFC 1/4] iommu/vt-d: Modify device_def_domain_type() to use at runtime

2019-07-22 Thread Joerg Roedel
On Tue, Jul 02, 2019 at 06:53:59PM -0700, Sai Praneeth Prakhya wrote: > device_def_domain_type() determines the domain type a device could have and > it's called only during boot. But, to change the domain of a group through > sysfs, kernel has to call this function during runtime. Hence, add an >

[PATCH RFC 1/4] iommu/vt-d: Modify device_def_domain_type() to use at runtime

2019-07-02 Thread Sai Praneeth Prakhya
device_def_domain_type() determines the domain type a device could have and it's called only during boot. But, to change the domain of a group through sysfs, kernel has to call this function during runtime. Hence, add an argument to the function which lets the function know if it's being called at