From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752990AbbGaQ62 (ORCPT ); Fri, 31 Jul 2015 12:58:28 -0400 Received: from 8bytes.org ([81.169.241.247]:40813 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbbGaQ61 (ORCPT ); Fri, 31 Jul 2015 12:58:27 -0400 Date: Fri, 31 Jul 2015 18:58:24 +0200 From: Joerg Roedel To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: [git pull] IOMMU Fixes for Linux v4.2-rc4 Message-ID: <20150731165824.GA26903@8bytes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, The following changes since commit cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f: Linux 4.2-rc4 (2015-07-26 12:26:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.2-rc4 for you to fetch changes up to 1c1cc454aa694a89572689515fdaaf27b8c9f42a: iommu/amd: Allow non-ATS devices in IOMMUv2 domains (2015-07-31 15:15:41 +0200) ---------------------------------------------------------------- IOMMU Fixes for Linux v4.2-rc4 These fixes are all for the AMD IOMMU driver: * A regression with HSA caused by the conversion of the driver to default domains. The fixes make sure that an HSA device can still be attached to an IOMMUv2 domain and that these domains also allow non-IOMMUv2 capable devices. * Fix iommu=pt mode which did not work because the dma_ops where set to nommu_ops, which breaks devices that can only do 32bit DMA. * Fix an issue with non-PCI devices not working, because there are no dma_ops for them. This issue was discovered recently as new AMD x86 platforms have non-PCI devices too. ---------------------------------------------------------------- Joerg Roedel (6): iommu/amd: Use iommu_attach_group() iommu/amd: Use iommu core for passthrough mode iommu/amd: Allow non-IOMMUv2 devices in IOMMUv2 domains iommu/amd: Use swiotlb in passthrough mode iommu/amd: Set global dma_ops if swiotlb is disabled iommu/amd: Allow non-ATS devices in IOMMUv2 domains drivers/iommu/amd_iommu.c | 98 +++++++++++++----------------------------- drivers/iommu/amd_iommu_init.c | 10 +---- drivers/iommu/amd_iommu_v2.c | 24 +++++++++-- 3 files changed, 51 insertions(+), 81 deletions(-) Please pull. Thanks, Joerg --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJVu6kwAAoJECvwRC2XARrj+6EP/0KhMJAIS9pbq/6BsXAqQyFb xOtCc5nyILxfO9ahU4Z2vHrOeh1RWGrjRx0SEprre/xBzLJDbbRWSTSYOZaELbGs NLlOB5LEK5H4OqxY7fNpExYo60GsKLc7kATTQw6tIAV5WlzJcI2CQz3+OfP3PC0r N6yIMPyIb51uNEqJQPJgoU+Tqd6A+FIVNiWuBE/uDcNuEN5ozuK4BlSnARnFdB1l RNCiEHk78FTpnqGFsX3G/mGiWbpcUjNqwvdkscoYXbq5GR2MAsmR/oAM6xbOX9CJ sWHvzhk7JGTYxVtrC8j2N/gUbLEDZjyX9DtP1zNEXKBHqihOVHUKv+1uIICIsEL7 Vw+3VkXUiD4QaudaQcVAKhZg+o9i/jDJWL+Y1P/vvTtMDl6wdoZR0+7f/kfbgTVk VnFFzmJcUzN+JULpyjV7GzUgcWKxwTQkdVBZQg0GMmkvKp/Zy5oGoRyudki6ykIr Yg92gTVQRK0GxZXdx/fRGs4clzzQt3heDnH7KGAUTSVah5KqU0Q4OzQisE8E2a+z 7MODEFANOkMB2dr3MOZRNLmvP/Ru2v1muFv2VywjlODO2LPnxg90swvjvzJ5BBsE hrq0dVUpbjXK1p4KS2gi49e1RK1KV2fJS7FIvEX2Ya+tkxc3x9Z+jMa6wZAnFMvD /O8PSGXTH8+6ep2iH3nY =jam2 -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--