Re: [PATCH v2] iommu/vtd: fix address translation for superpages

2023-05-25 Thread Roger Pau Monné
On Wed, May 24, 2023 at 06:11:03PM +0200, Jan Beulich wrote: > On 24.05.2023 17:22, Roger Pau Monne wrote: > > When translating an address that falls inside of a superpage in the > > IOMMU page tables the fetching of the PTE value wasn't masking of the > > contiguous related data, which caused the

Re: [PATCH v2] iommu/vtd: fix address translation for superpages

2023-05-24 Thread Jan Beulich
On 24.05.2023 17:22, Roger Pau Monne wrote: > When translating an address that falls inside of a superpage in the > IOMMU page tables the fetching of the PTE value wasn't masking of the > contiguous related data, which caused the returned data to be > corrupt as it would contain bits that the calle

[PATCH v2] iommu/vtd: fix address translation for superpages

2023-05-24 Thread Roger Pau Monne
When translating an address that falls inside of a superpage in the IOMMU page tables the fetching of the PTE value wasn't masking of the contiguous related data, which caused the returned data to be corrupt as it would contain bits that the caller would interpret as part of the address. Fix this