iommu/amd: announce supported page sizes
authorOhad Ben-Cohen <ohad@wizery.com>
Thu, 10 Nov 2011 09:32:29 +0000 (11:32 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 10 Nov 2011 10:40:38 +0000 (11:40 +0100)
commitaa3de9c05051ac26355276944789217040e38207
tree1d3e81825e0debace5f37f0a71b4fab378696c09
parent83427275546a6e36076d4f1a0545335b1bb2afc2
iommu/amd: announce supported page sizes

Let the IOMMU core know we support arbitrary page sizes (as long as
they're an order of 4KiB).

This way the IOMMU core will retain the existing behavior we're used to;
it will let us map regions that:
- their size is an order of 4KiB
- they are naturally aligned

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Joerg Roedel <Joerg.Roedel@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c