RE: [PATCH RFC 0/4] iommu: Add support to change default domain of a group

2019-07-25 Thread Prakhya, Sai Praneeth
> On Tue, Jul 02, 2019 at 06:53:58PM -0700, Sai Praneeth Prakhya wrote: > > Assume a use case where-in the priviliged user would want to use the > > device in pass-through mode when the device is used for host but would > > want to switch to dma protected mode when switching for VFIO in user > > sp

Re: [PATCH RFC 0/4] iommu: Add support to change default domain of a group

2019-07-22 Thread Joerg Roedel
On Tue, Jul 02, 2019 at 06:53:58PM -0700, Sai Praneeth Prakhya wrote: > Assume a use case where-in the priviliged user would want to use the device in > pass-through mode when the device is used for host but would want to switch to > dma protected mode when switching for VFIO in user space. Present

[PATCH RFC 0/4] iommu: Add support to change default domain of a group

2019-07-02 Thread Sai Praneeth Prakhya
Presently, the default domain of a group is allocated during boot time and it cannot be changed later. So, the device would typically be either in identity/pass through mode or the device would be in DMA mode as long as the system is up and running. There is no way to change the default domain type