From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id DFBAAA49 for ; Wed, 19 Sep 2018 12:42:16 +0200 (CEST) Received: by mail-wm1-f66.google.com with SMTP id f21-v6so5700571wmc.5 for ; Wed, 19 Sep 2018 03:42:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=d+0lkzxORRVdzceoVBCh/dkKXFIdtFCsIO2b7uRawhg=; b=UT4Ftcpvah8W08DZvV0ptXzO9ds1hIQOvhw9yAVF1L8YOpypd2GOCsr/vyoxSOmrni RRZ4JaZfWNyuK2j8MJFflDmolVuYrf6pXEwuc+HVmppy887Jzk7VJPEqKw46aDwpBcD4 b/JQpANCVPv+1Ab5+NJspqhWVtxkmSkeoEr/kdUcNLXmH8sLFkzQgtk8JMpD6WJsEgFy hijKEC+KWj2wUqdXuAhGUpq35Xezcs+hxtKoWC1EX9lU9TEnorjypZMfm1jaduDO3HgU BFCj1gu/KjVpEAMaRXSt+SceYx5jiB76cq5WOikIBW1GR/HXT+X5B47p1sausRUkA/De t+uw== X-Gm-Message-State: APzg51BYKeDvN92yTd8m8wf6VIGrSE5tsiQj+P+c/0gTD4bITirkjRZh pEPDAIpguEvUbNSS3kGXBHM= X-Google-Smtp-Source: ANB0VdbgJyMSperWJDJopl79sNVArKPY707snfhDKqducyi8wB8mnHyzhxNBchf+muQF/fl+1zROZQ== X-Received: by 2002:a1c:1609:: with SMTP id 9-v6mr20161140wmw.12.1537353736472; Wed, 19 Sep 2018 03:42:16 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd]) by smtp.gmail.com with ESMTPSA id o3-v6sm17317499wrn.58.2018.09.19.03.42.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Sep 2018 03:42:15 -0700 (PDT) Message-ID: <1537353734.10481.21.camel@debian.org> From: Luca Boccassi To: "tone.zhang" , dev@dpdk.org Cc: gavin.hu@arm.com, bruce.richardson@intel.com, roszenrami@gmail.com, nd@arm.com Date: Wed, 19 Sep 2018 11:42:14 +0100 In-Reply-To: <1536124655-27163-1-git-send-email-tone.zhang@arm.com> References: <1536122382-26525-1-git-send-email-tone.zhang@arm.com> <1536124655-27163-1-git-send-email-tone.zhang@arm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generic" kernel module X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 10:42:17 -0000 On Wed, 2018-09-05 at 13:17 +0800, tone.zhang wrote: > If the devices used for DPDK are bound to the "uio_pci_generic" > kernel > module, the IOMMU should be disabled in order not to break the IO > transmission because of the virtual / physical address mapping. >=20 > The patch clarifies the IOMMU configurations on both x86_64 and arm64 > systems. >=20 > Signed-off-by: tone.zhang > --- > =C2=A0doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++ > =C2=A01 file changed, 7 insertions(+) >=20 > diff --git a/doc/guides/linux_gsg/linux_drivers.rst > b/doc/guides/linux_gsg/linux_drivers.rst > index 371a817..b46fc6a 100644 > --- a/doc/guides/linux_gsg/linux_drivers.rst > +++ b/doc/guides/linux_gsg/linux_drivers.rst > @@ -48,6 +48,13 @@ be loaded as shown below: > =C2=A0=C2=A0=C2=A0=C2=A0``vfio-pci`` kernel module rather than ``igb_uio`= ` or > ``uio_pci_generic``. > =C2=A0=C2=A0=C2=A0=C2=A0For more details see :ref:`linux_gsg_binding_kern= el` below. > =C2=A0 > +.. note:: > + > +=C2=A0=C2=A0=C2=A0If the devices used for DPDK are bound to the ``uio_pc= i_generic`` > kernel module, > +=C2=A0=C2=A0=C2=A0please make sure that the IOMMU is disabled. One can a= dd > ``intel_iommu=3Doff`` or > +=C2=A0=C2=A0=C2=A0``intel_iommu=3Dpt`` or ``amd_iommu=3Doff`` in GRUB co= mmand line on > x86_64 systems, > +=C2=A0=C2=A0=C2=A0or add ``iommu.passthrough=3D1`` on arm64 system. > + > =C2=A0Since DPDK release 1.7 onward provides VFIO support, use of UIO is > optional > =C2=A0for platforms that support using VFIO. > =C2=A0 Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi