Re: [PATCH] iommu/vt-d: Fix the size calculation of pasid table

From: Joerg Roedel
Date: Thu Nov 10 2016 - 05:45:51 EST


Hi David,

On Sun, Oct 30, 2016 at 06:18:22AM -0600, David Woodhouse wrote:
> + /* Start at 2 because it's defined as 1^(1+PSS) */

This probably means 2^(1+PSS), right?

> + iommu->pasid_max = 2 << ecap_pss(iommu->ecap);

Otherwise the patch looks good. Do you want to send it upstream yourself
or should I pick it up?



Joerg