[PATCH v6 01/12] iommu: Change type of pasid to u32

Joerg Roedel joro at 8bytes.org
Wed Jul 22 14:03:40 UTC 2020


On Mon, Jul 13, 2020 at 04:47:56PM -0700, Fenghua Yu wrote:
> PASID is defined as a few different types in iommu including "int",
> "u32", and "unsigned int". To be consistent and to match with uapi
> definitions, define PASID and its variations (e.g. max PASID) as "u32".
> "u32" is also shorter and a little more explicit than "unsigned int".
> 
> No PASID type change in uapi although it defines PASID as __u64 in
> some places.
> 
> Suggested-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Fenghua Yu <fenghua.yu at intel.com>
> Reviewed-by: Tony Luck <tony.luck at intel.com>
> Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>
> Acked-by: Felix Kuehling <Felix.Kuehling at amd.com>

For the IOMMU parts:

Acked-by: Joerg Roedel <jroedel at suse.de>



More information about the amd-gfx mailing list