Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235030

Re: [PATCH] iommu/s390: add iommu api for s390 pci devices

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject Re: [PATCH] iommu/s390: add iommu api for s390 pci devices
Date 2015-09-29 14:50 +0200
Message-ID <qe2w2-6Ln-21@gated-at.bofh.it> (permalink)
References <q25zk-5SC-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Gerald,

thanks for your patch. It looks pretty good and addresses my previous
review comments. I have a few questions, first one is how this
operates with DMA-API on s390. Is there a seperate DMA-API
implementation besides the IOMMU-API one for PCI devices?

My other question is inline:

On Thu, Aug 27, 2015 at 03:33:03PM +0200, Gerald Schaefer wrote:
> +struct s390_domain_device {
> +	struct list_head	list;
> +	struct zpci_dev		*zdev;
> +};

Instead of using your own struct here, have you considered using the
struct iommu_group instead? The struct devices contains a pointer to an
iommu_group and the struct itself contains pointers to the domain it is
currently bound to.


Regards,

	Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] iommu/s390: add iommu api for s390 pci devices Joerg Roedel <joro@8bytes.org> - 2015-09-29 14:50 +0200
  Re: [PATCH] iommu/s390: add iommu api for s390 pci devices Gerald Schaefer <gerald.schaefer@de.ibm.com> - 2015-10-01 19:40 +0200

csiph-web