Re: [PATCH v4] pci: read amd iommu virtual address width

2022-10-12 Thread Stephen Hemminger
On Tue, 11 Oct 2022 16:08:53 +0200 Michael Piszczek wrote: > + mgaw = ((cap_reg & VTD_CAP_MGAW_MASK) >> VTD_CAP_MGAW_SHIFT) + > 1; > } > + else { Minor nit, the kernel style used by DPDK uses "cuddle else" } else {

Re: [PATCH v4] pci: read amd iommu virtual address width

2022-10-12 Thread Ferruh Yigit
On 10/11/2022 3:08 PM, Michael Piszczek wrote: Add code to read the virtual address width for AMD processors. Signed-off-by: Michael Piszczek --- drivers/bus/pci/linux/pci.c | 48 - 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/bu

[PATCH v4] pci: read amd iommu virtual address width

2022-10-12 Thread Michael Piszczek
Add code to read the virtual address width for AMD processors. Signed-off-by: Michael Piszczek --- drivers/bus/pci/linux/pci.c | 48 - 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c ind

[PATCH v4] pci: read amd iommu virtual address width

2022-10-12 Thread Michael Piszczek
Add code to read the virtual address width for AMD processors. Signed-off-by: Michael Piszczek --- drivers/bus/pci/linux/pci.c | 48 - 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c ind