From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module Date: Wed, 5 Sep 2018 10:22:16 +0100 Message-ID: <20180905102216.0ecd182f@shemminger-XPS-13-9360> References: <1536051547-8797-1-git-send-email-tone.zhang@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Rami Rosen , "dev@dpdk.org" , nd To: "Tone Zhang (Arm Technology China)" Return-path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id AE0222C28 for ; Wed, 5 Sep 2018 11:22:20 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id c14-v6so7191555wmb.4 for ; Wed, 05 Sep 2018 02:22:20 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 5 Sep 2018 00:20:29 +0000 "Tone Zhang (Arm Technology China)" wrote: > Hi Rami, >=20 > Yes, I mean =E2=80=9Cuio_pci_generic=E2=80=9D kernel module. >=20 > I will update the change accordingly. >=20 > Thanks. >=20 > Br, > Tone >=20 > From: Rami Rosen > Sent: Wednesday, September 5, 2018 3:55 AM > To: Tone Zhang (Arm Technology China) > Cc: dev@dpdk.org; nd > Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" k= ernel module >=20 > Hi Tone, > >if the devices for used DPDK bound to the ``uio-pci`` kernel module, ple= ase make =20 >=20 > The three kernel modules which can be used for DPDK binding are vfio-pci,= uio_pci_generic and igb_uio. Don't you mean here uio_pci_generic ? >=20 > Regards, > Rami Rosen >=20 >=20 > =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=92=D7=B3, 4 = =D7=91=D7=A1=D7=A4=D7=98=D7=B3 2018, 11:59, =D7=9E=D7=90=D7=AA tone.z > When binding the devices used by DPDK to the "uio-pci" kernel module, > the IOMMU should be disabled in order not to break the > because of the virtual / physical address mapping. >=20 > The patch clarifies the IOMMU configuration on both x86_64 and arm64 > systems. >=20 > Signed-off-by: tone.zhang > > --- > doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gs= g/linux_drivers.rst > index 371a817..8f9ec8f 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: > ``vfio-pci`` > 2.7.4 Also, it would be good if documentation was clear in recommending using VFIO instead if IOMMU is present.