From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030565AbdD0P24 (ORCPT ); Thu, 27 Apr 2017 11:28:56 -0400 Received: from 8bytes.org ([81.169.241.247]:34771 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030266AbdD0P2f (ORCPT ); Thu, 27 Apr 2017 11:28:35 -0400 From: Joerg Roedel To: Sebastian Ott , Gerald Schaefer Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Joerg Roedel Subject: [RFC PATCH 0/2] iommu/s390: Fix iommu-groups and add sysfs support Date: Thu, 27 Apr 2017 17:28:23 +0200 Message-Id: <1493306905-32334-1-git-send-email-joro@8bytes.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, here are two patches for the s390 PCI and IOMMU code. It is based on the assumption that every pci_dev that points to the same zpci_dev shares a single dma-table (and thus a single address space). If this assupmtion is true (as it looks to me from reading the code) then the iommu-group setup code in the s390 iommu driver needs to be updated. These patches do this and also add support for the iommu_device_register interface to the s390 iommu driver. Any comments and testing appreciated. Thanks, Joerg Joerg Roedel (2): iommu/s390: Fix IOMMU groups iommu/s390: Add support for iommu_device handling arch/s390/include/asm/pci.h | 8 +++++ arch/s390/pci/pci.c | 10 ++++++- drivers/iommu/s390-iommu.c | 71 ++++++++++++++++++++++++++++++++++++++------- 3 files changed, 78 insertions(+), 11 deletions(-) -- 1.9.1