Re: [PATCH v5 1/4] intel_iommu: fix FRCD construction macro

2024-07-08 Thread Minwoo Im
On 24-07-08 11:39:53, CLEMENT MATHIEU--DRIF wrote: > From: Clément Mathieu--Drif > > The constant must be unsigned, otherwise the two's complement > overrides the other fields when a PASID is present. > > Fixes: 1b2b12376c8a ("intel-iommu: PASID support") > Signed-off-by: Clément Mathieu--Drif

[PATCH v5 1/4] intel_iommu: fix FRCD construction macro

2024-07-08 Thread CLEMENT MATHIEU--DRIF
From: Clément Mathieu--Drif The constant must be unsigned, otherwise the two's complement overrides the other fields when a PASID is present. Fixes: 1b2b12376c8a ("intel-iommu: PASID support") Signed-off-by: Clément Mathieu--Drif Reviewed-by: Yi Liu Reviewed-by: Zhenzhong Duan --- hw/i386/in