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

2024-07-08 Thread Yi Liu
On 2024/7/9 10:51, Jason Wang wrote: On Mon, Jul 8, 2024 at 3:04 PM Yi Liu wrote: On 2024/7/5 19:01, 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: 1b2b12376c8

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

2024-07-08 Thread Jason Wang
On Mon, Jul 8, 2024 at 3:04 PM Yi Liu wrote: > > On 2024/7/5 19:01, 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:

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

2024-07-08 Thread Yi Liu
On 2024/7/5 19:01, 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") The extra line behind the "Fixes tag" is not neede

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

2024-07-05 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/i