Re: [PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-17 Thread Vasant Hegde
Hi Alejandro, On 3/11/2025 8:54 PM, Alejandro Jimenez wrote: > The DTE validation method verifies that all bits in reserved DTE fields are > unset. Update them according to the latest definition available in AMD I/O > Virtualization Technology (IOMMU) Specification - Section 2.2.2.1 Device > Tabl

Re: [PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-17 Thread Vasant Hegde
Hi , On 3/13/2025 7:53 PM, Alejandro Jimenez wrote: > > > On 3/12/25 12:12 AM, Arun Kodilkar, Sairaj wrote: >> Hi Alejandro, >> >> On 3/11/2025 8:54 PM, Alejandro Jimenez wrote: > > [...] > >>> --- a/hw/i386/amd_iommu.h >>> +++ b/hw/i386/amd_iommu.h >>> @@ -25,6 +25,8 @@ >>>   #include "hw/i3

Re: [PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-16 Thread Arun Kodilkar, Sairaj
On 3/13/2025 7:53 PM, Alejandro Jimenez wrote: On 3/12/25 12:12 AM, Arun Kodilkar, Sairaj wrote: Hi Alejandro, On 3/11/2025 8:54 PM, Alejandro Jimenez wrote: [...] --- a/hw/i386/amd_iommu.h +++ b/hw/i386/amd_iommu.h @@ -25,6 +25,8 @@   #include "hw/i386/x86-iommu.h"   #include "qom/obj

Re: [PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-13 Thread Alejandro Jimenez
On 3/12/25 12:12 AM, Arun Kodilkar, Sairaj wrote: Hi Alejandro, On 3/11/2025 8:54 PM, Alejandro Jimenez wrote: [...] --- a/hw/i386/amd_iommu.h +++ b/hw/i386/amd_iommu.h @@ -25,6 +25,8 @@   #include "hw/i386/x86-iommu.h"   #include "qom/object.h" +#define GENMASK64(h, l)  (((~0ULL) >> (63

Re: [PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-11 Thread Arun Kodilkar, Sairaj
Hi Alejandro, On 3/11/2025 8:54 PM, Alejandro Jimenez wrote: The DTE validation method verifies that all bits in reserved DTE fields are unset. Update them according to the latest definition available in AMD I/O Virtualization Technology (IOMMU) Specification - Section 2.2.2.1 Device Table Entry

[PATCH 3/6] amd_iommu: Update bitmasks representing DTE reserved fields

2025-03-11 Thread Alejandro Jimenez
The DTE validation method verifies that all bits in reserved DTE fields are unset. Update them according to the latest definition available in AMD I/O Virtualization Technology (IOMMU) Specification - Section 2.2.2.1 Device Table Entry Format. Remove the magic numbers and use a macro helper to gene