[PATCH v2 17/19] iommu: Add max num of cache and granu types

2019-04-23 Thread Jacob Pan
To convert to/from cache types and granularities between generic and VT-d specific counterparts, a 2D arrary is used. Introduce the limits to help define the converstion array size. Signed-off-by: Jacob Pan --- include/uapi/linux/iommu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/incl

Re: [PATCH v2 17/19] iommu: Add max num of cache and granu types

2019-04-26 Thread Auger Eric
Hi Jacob, On 4/24/19 1:31 AM, Jacob Pan wrote: > To convert to/from cache types and granularities between generic and > VT-d specific counterparts, a 2D arrary is used. Introduce the limits array > to help define the converstion array size. conversion > > Signed-off-by: Jacob Pan > --- > includ

Re: [PATCH v2 17/19] iommu: Add max num of cache and granu types

2019-04-29 Thread Jacob Pan
On Fri, 26 Apr 2019 18:22:46 +0200 Auger Eric wrote: > Hi Jacob, > > On 4/24/19 1:31 AM, Jacob Pan wrote: > > To convert to/from cache types and granularities between generic and > > VT-d specific counterparts, a 2D arrary is used. Introduce the > > limits > array > > to help define the conver

Re: [PATCH v2 17/19] iommu: Add max num of cache and granu types

2019-04-29 Thread Auger Eric
Hi Jacob, On 4/29/19 6:17 PM, Jacob Pan wrote: > On Fri, 26 Apr 2019 18:22:46 +0200 > Auger Eric wrote: > >> Hi Jacob, >> >> On 4/24/19 1:31 AM, Jacob Pan wrote: >>> To convert to/from cache types and granularities between generic and >>> VT-d specific counterparts, a 2D arrary is used. Introduc