From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by dpdk.org (Postfix) with ESMTP id C3D7510A3 for ; Tue, 30 Oct 2018 15:45:15 +0100 (CET) Received: by mail-ed1-f65.google.com with SMTP id c1-v6so10719577ede.5 for ; Tue, 30 Oct 2018 07:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ji+cNwT0zWNVMADY27TIOwjwGx2LdAHjqXItEUNxC4=; b=m33j7tjQZMe+I7tK8DW9tvxY8/jXUNlITKEKOmE+H6wt/37MQkI0/RmfNXNIFheaQ+ OMio5OA84MQ3TOlfI8PIWfw1wf7OHdeaUkCLdTHJmyb+Kis+aROR3J2t2W5sXk+WWIFy VZd7v5A87i8LXGQnfA0ixY4hwFnJBQfyZKcLuc8H8Su1rOMho4DbXXdSW0Me3LeTAvwP 7AqZR6BHMLig2bHADC4rfQlJk2FS0iezfNXfv6GN3NnNoqsP5/hpvV0iC1RtOkBasU+v poj2uIA3a5UoqgqEqxbhK6ZF6rb2Ad28uB7JNHksFo+qS3LI3kyE14qnPiCFOrHm6F0I jW9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ji+cNwT0zWNVMADY27TIOwjwGx2LdAHjqXItEUNxC4=; b=jZJ115+/KHubPXOysssCxcZknAbYnrI+cV0Z/tP+xeTnTc+i06X5fASX7OQJSf5Pa7 J65GFozwiiajvPweV1EO2BVH3McEybFBIBrkpoeMSONqmUJpeB82pec8gCxr2v6TMjSt q13cCOFCP1KJlZHTozGQ03A/GjSmylaHQW5uvUwBxEFjPT0nY6RJ11AtGP/JuRFDNMpq 3g16PXGaCGZyCejCdbPFkAIQEIkw9OTZZM1Rret68FcMoFZRUSlGoS+ux+2k6YG4TsLL HKU3gDYWyEhyPu8J0FpN1G9oxxaPNtmn4LPm8Ovw8h+VIpCr9BZMfIMdv2CQrwz2mPWl YxlA== X-Gm-Message-State: AGRZ1gI3tjHac9Hr7RffpBJQmulHas8zaVk7wAPJSpQf7viysNc9c4s4 Wtj+CFOshvY6QGns3ISeziepG5MIVXebtuSp69DBQQ== X-Google-Smtp-Source: AJdET5cBoCCPtXyFjVFYNzACl5poBzBHfIvkTyIXvknnhLHcE8z8P4x+Q0NtbAGO703Cm+3gqFO1YqOoWci5fbfAHks= X-Received: by 2002:a50:86e7:: with SMTP id 36-v6mr16793003edu.104.1540910715424; Tue, 30 Oct 2018 07:45:15 -0700 (PDT) MIME-Version: 1.0 References: <1538743527-8285-1-git-send-email-alejandro.lucero@netronome.com> <2737161.TvyDVilZt4@xps> <2DBBFF226F7CF64BAFCA79B681719D954502B94F@shsmsx102.ccr.corp.intel.com> <0D300480287911409D9FF92C1FA2A3355B442C48@SHSMSX104.ccr.corp.intel.com> <0D300480287911409D9FF92C1FA2A3355B443027@SHSMSX104.ccr.corp.intel.com> <0D300480287911409D9FF92C1FA2A3355B443098@SHSMSX104.ccr.corp.intel.com> <66c9375a-0256-a067-b8a9-be6f6fcef25d@intel.com> In-Reply-To: <66c9375a-0256-a067-b8a9-be6f6fcef25d@intel.com> From: Alejandro Lucero Date: Tue, 30 Oct 2018 14:45:04 +0000 Message-ID: To: "Burakov, Anatoly" Cc: xueqin.lin@intel.com, lei.a.yao@intel.com, Thomas Monjalon , dev , "Xu, Qian Q" , Ferruh Yigit , Qi Zhang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3 0/6] use IOVAs check based on DMA mask 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: Tue, 30 Oct 2018 14:45:15 -0000 On Tue, Oct 30, 2018 at 2:14 PM Burakov, Anatoly wrote: > On 30-Oct-18 2:04 PM, Alejandro Lucero wrote: > > > > > > On Tue, Oct 30, 2018 at 12:37 PM Alejandro Lucero > > = > > > > wrote: > > > > > > > > On Tue, Oct 30, 2018 at 12:22 PM Lin, Xueqin > > wrote: > > > > Some found on some our servers:____ > > > > If not add =E2=80=9Dintel_iommu=3Don iommu=3Dpt=E2=80=9D in /b= oot/grub2/grub.cfg > > file, then reboot to make it effective.____ > > > > 18.11 rc1: Success to setup testpmd and secondary process.____ > > > > __ __ > > > > If add =E2=80=9Dintel_iommu=3Don iommu=3Dpt=E2=80=9D in /boot= /grub2/grub.cfg file, > > then reboot to make it effective.____ > > > > 18.11 rc1: Fail to setup testpmd and secondary process.____ > > > > 18.11 rc1+ dma_mask_fix patch: success to setup testpmd, but > > fail to setup secondary process.____ > > > > __ __ > > > > Maybe =E2=80=9Dintel_iommu=3Don iommu=3Dpt=E2=80=9D enable or n= ot result in our test > > gap. ____ > > > > Most of our team servers should enable the IOMMU for VT-d and > > vfio test. ____ > > > > __ > > > > > > It makes sense because the problem is when the IOVA mode is set > > inside drivers/bus/pci/linux/pci.c and if there is not IOMMU, not > > call to rte_eal_check_dma_mask at all. > > > > __ > > > > Best regards,____ > > > > Xueqin____ > > > > __ __ > > > > *From:*Alejandro Lucero [mailto:alejandro.lucero@netronome.com > > ] > > *Sent:* Tuesday, October 30, 2018 6:38 PM > > *To:* Lin, Xueqin > > > > *Cc:* Yao, Lei A > >; Thomas Monjalon > > >; dev > > >; Xu, Qian Q > > >; Burakov, > > Anatoly > >; Yigit, Ferruh > > >; Zhang= , > > Qi Z > > > *Subject:* Re: [dpdk-dev] [PATCH v3 0/6] use IOVAs check based > > on DMA mask____ > > > > __ __ > > > > __ __ > > > > On Tue, Oct 30, 2018 at 10:34 AM Lin, Xueqin > > > wrote:____ > > > > Hi Lucero,____ > > > > ____ > > > > No, we have reproduced multi-process issues(include > > symmetric_mp, simple_mp, hotplug_mp, multi-process unit > > test=E2=80=A6 )on most of our servers. ____ > > > > It is also strange that 1~2 servers don=E2=80=99t have the = issue.____ > > > > ____ > > > > __ __ > > > > Yes, you are right. I could execute it but it was due to how > > this problem triggers. ____ > > > > I think I can fix this and at the same time solving properly th= e > > initial issue without any limitation like that potential race > > condition I mentioned. ____ > > > > I can give you a patch to try in a couple of hours. ____ > > > > __ > > > > > > Hi Lin, > > > > Can you try the patch attached? > > > > Thanks > > > Hi Alejandro, > > Attachments are not supported on the mailing list :) > Apologies. I should have sent it just to Lin. > > -- > Thanks, > Anatoly >