Re: [PATCH v7 2/7] iommu/uapi: Add argsz for user filled data

2020-08-17 Thread Jacob Pan
On Wed, 12 Aug 2020 18:59:14 +0200 Auger Eric wrote: > Hi, > > On 7/30/20 2:21 AM, Jacob Pan wrote: > > As IOMMU UAPI gets extended, user data size may increase. To support > > backward compatibiliy, this patch introduces a size field to each > > UAPI > s/compatibiliy/compatibility will fix

Re: [PATCH v7 2/7] iommu/uapi: Add argsz for user filled data

2020-08-12 Thread Auger Eric
Hi, On 7/30/20 2:21 AM, Jacob Pan wrote: > As IOMMU UAPI gets extended, user data size may increase. To support > backward compatibiliy, this patch introduces a size field to each UAPI s/compatibiliy/compatibility > data structures. It is *always* the responsibility for the user to fill in > the

[PATCH v7 2/7] iommu/uapi: Add argsz for user filled data

2020-07-29 Thread Jacob Pan
As IOMMU UAPI gets extended, user data size may increase. To support backward compatibiliy, this patch introduces a size field to each UAPI data structures. It is *always* the responsibility for the user to fill in the correct size. Padding fields are adjusted to ensure 8 byte alignment. Specific