Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-29 Thread Gerald Schaefer
On Tue, 27 Jun 2017 17:28:06 +0200 Joerg Roedel wrote: > On Mon, Jun 19, 2017 at 05:02:19PM +0200, Gerald Schaefer wrote: > > On Thu, 15 Jun 2017 15:11:52 +0200 > > Joerg Roedel wrote: > > > + rc = zpci_init_iommu(zdev); > > > + if (rc) > > > + goto

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-29 Thread Gerald Schaefer
On Tue, 27 Jun 2017 17:28:06 +0200 Joerg Roedel wrote: > On Mon, Jun 19, 2017 at 05:02:19PM +0200, Gerald Schaefer wrote: > > On Thu, 15 Jun 2017 15:11:52 +0200 > > Joerg Roedel wrote: > > > + rc = zpci_init_iommu(zdev); > > > + if (rc) > > > + goto out_free; > > > + > > > > After this

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-27 Thread Joerg Roedel
On Mon, Jun 19, 2017 at 05:02:19PM +0200, Gerald Schaefer wrote: > On Thu, 15 Jun 2017 15:11:52 +0200 > Joerg Roedel wrote: > > + rc = zpci_init_iommu(zdev); > > + if (rc) > > + goto out_free; > > + > > After this point, there are two options for failure

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-27 Thread Joerg Roedel
On Mon, Jun 19, 2017 at 05:02:19PM +0200, Gerald Schaefer wrote: > On Thu, 15 Jun 2017 15:11:52 +0200 > Joerg Roedel wrote: > > + rc = zpci_init_iommu(zdev); > > + if (rc) > > + goto out_free; > > + > > After this point, there are two options for failure (zpci_enable_device + >

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-19 Thread Gerald Schaefer
On Thu, 15 Jun 2017 15:11:52 +0200 Joerg Roedel wrote: > From: Joerg Roedel > > Add support for the iommu_device_register interface to make > the s390 hardware iommus visible to the iommu core and in > sysfs. > > Signed-off-by: Joerg Roedel

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-19 Thread Gerald Schaefer
On Thu, 15 Jun 2017 15:11:52 +0200 Joerg Roedel wrote: > From: Joerg Roedel > > Add support for the iommu_device_register interface to make > the s390 hardware iommus visible to the iommu core and in > sysfs. > > Signed-off-by: Joerg Roedel > --- > arch/s390/include/asm/pci.h | 7 +++ >

[PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-15 Thread Joerg Roedel
From: Joerg Roedel Add support for the iommu_device_register interface to make the s390 hardware iommus visible to the iommu core and in sysfs. Signed-off-by: Joerg Roedel --- arch/s390/include/asm/pci.h | 7 +++ arch/s390/pci/pci.c | 5 +

[PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-15 Thread Joerg Roedel
From: Joerg Roedel Add support for the iommu_device_register interface to make the s390 hardware iommus visible to the iommu core and in sysfs. Signed-off-by: Joerg Roedel --- arch/s390/include/asm/pci.h | 7 +++ arch/s390/pci/pci.c | 5 + drivers/iommu/s390-iommu.c | 35

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-04-28 Thread kbuild test robot
Hi Joerg, [auto build test ERROR on s390/features] [also build test ERROR on v4.11-rc8 next-20170428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-04-28 Thread kbuild test robot
Hi Joerg, [auto build test ERROR on s390/features] [also build test ERROR on v4.11-rc8 next-20170428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-04-27 Thread Joerg Roedel
From: Joerg Roedel Add support for the iommu_device_register interface to make the s390 hardware iommus visible to the iommu core and in sysfs. Signed-off-by: Joerg Roedel --- arch/s390/include/asm/pci.h | 1 + drivers/iommu/s390-iommu.c | 30

[PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-04-27 Thread Joerg Roedel
From: Joerg Roedel Add support for the iommu_device_register interface to make the s390 hardware iommus visible to the iommu core and in sysfs. Signed-off-by: Joerg Roedel --- arch/s390/include/asm/pci.h | 1 + drivers/iommu/s390-iommu.c | 30 ++ 2 files changed,