[kernel, v3] powerpc/ioda: Use ibm, supported-tce-sizes for IOMMU page size mask

Michael Ellerman patch-notifications at ellerman.id.au
Wed May 16 23:38:51 AEST 2018


On Mon, 2018-05-14 at 09:39:22 UTC, Alexey Kardashevskiy wrote:
> At the moment we assume that IODA2 and newer PHBs can always do 4K/64K/16M
> IOMMU pages, however this is not the case for POWER9 and now skiboot
> advertises the supported sizes via the device so we use that instead
> of hard coding the mask.
> 
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/7ef73cd39b4e2829ee88c06f938bc7

cheers


More information about the Linuxppc-dev mailing list