lkml.org 
[lkml]   [2014]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] iommu/amd: Fix logics to determine and checking max PASID
On 3/5/2014 4:35 PM, Joerg Roedel wrote:
>> - cmd->data[1] = pasid & PASID_MASK;
>> >+ cmd->data[1] = pasid & amd_iommu_max_pasid;
> ... masking out the other bits is redundant.
>
>
> Joerg

Agree. I can take out the masking stuff here, but I think we should be
using the amd_iommu_max_pasid instead of hard coded PASID_MASK for the rest.

Suravee




\
 
 \ /
  Last update: 2014-03-06 00:41    [W:0.609 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site