Re: [PATCH v7 01/11] iommu/vt-d: Cache virtual command capability register

2019-11-08 Thread Auger Eric
Hi Jacob, On 10/24/19 9:54 PM, Jacob Pan wrote: > Virtual command registers are used in the guest only, to prevent > vmexit cost, we cache the capability and store it during initialization. > > Signed-off-by: Jacob Pan > --- > drivers/iommu/dmar.c| 1 + > include/linux/intel-iommu.h |

Re: [PATCH v7 01/11] iommu/vt-d: Cache virtual command capability register

2019-10-24 Thread Lu Baolu
Hi, On 10/25/19 3:54 AM, Jacob Pan wrote: Virtual command registers are used in the guest only, to prevent vmexit cost, we cache the capability and store it during initialization. Signed-off-by: Jacob Pan This patch looks good to me. Reviewed-by: Lu Baolu Best regards, baolu ---

[PATCH v7 01/11] iommu/vt-d: Cache virtual command capability register

2019-10-24 Thread Jacob Pan
Virtual command registers are used in the guest only, to prevent vmexit cost, we cache the capability and store it during initialization. Signed-off-by: Jacob Pan --- drivers/iommu/dmar.c| 1 + include/linux/intel-iommu.h | 4 2 files changed, 5 insertions(+) diff --git