From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F3732A10DA for ; Wed, 31 Jul 2019 12:58:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35EB81C0B2; Wed, 31 Jul 2019 12:58:14 +0200 (CEST) Received: from mail-vs1-f68.google.com (mail-vs1-f68.google.com [209.85.217.68]) by dpdk.org (Postfix) with ESMTP id D0B281BFE0 for ; Wed, 31 Jul 2019 12:58:12 +0200 (CEST) Received: by mail-vs1-f68.google.com with SMTP id 190so45843240vsf.9 for ; Wed, 31 Jul 2019 03:58:12 -0700 (PDT) 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=vgzTcxB0GkiwYxOxRpobCIJsuT3rX+Wb0lPwDsVBOmk=; b=mKcZPooKAQEwW94y3b1Y8iHCKBsOBUaA7h3PYO6gRWvBkJHp/TvufJCs8ZrPFEMBy2 7goh5hjzdFdu9JiIYSMdzNI+6nZOmfSgbuOsTNxvya2QPtDrs75N6grDj46pShxK02zA JnwfYepD/LKta4rjAWCFbKxp1aAM7OsdqAZzOjFnPMDyBMasdfBYCNCJP7nFmi6vI11d lmIcFnnun6Zp3xM03qAnnB1/IppKAK4xX/SJ8MNZMjbmcwUcZk8liI/tEtaVlwAiXxNN fWSqG0ykYlkK/WIn6j/+BZDvWwckYSDUNNcAZxjTJall4mHoAT8TNZAvrhwyUX1tJSYg 9nvg== X-Gm-Message-State: APjAAAXW2tjFYmEFv/POjLzNegVYqdzHaazKi6SzW6emXPL8mmknkrji JZqgNmk0D9ZcqtokPoa7J9AdHYQdfpDPiJg6oU2qdQ== X-Google-Smtp-Source: APXvYqx2pX3l7K8pNxDrZ4rjEZeptIXyM7NxN8qz5h2gYCYnep9cLCuYmc7krcYysfgoSkcOhuljGDCKa8SkYPteWFg= X-Received: by 2002:a67:d81b:: with SMTP id e27mr73859888vsj.198.1564570692170; Wed, 31 Jul 2019 03:58:12 -0700 (PDT) MIME-Version: 1.0 References: <20190731033523.2482-1-tyos@jp.ibm.com> In-Reply-To: From: David Marchand Date: Wed, 31 Jul 2019 12:58:01 +0200 Message-ID: To: Takeshi T Yoshimura , Maxime Coquelin Cc: dev , "Burakov, Anatoly" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in ppc 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jul 31, 2019 at 12:44 PM Takeshi T Yoshimura wrote: > Ah, I overlooked your first question. The "ppc driver" is in > drivers/bus/pci/linux/pci.c. In pci.c, pci_one_device_iommu_support_va() > always returns false in ppc. so, the driver does not allow VA mode in ppc. > > This return value is passed to rte_pci_probe_one_driver() > in drivers/bus/pci/pci_common.c. And the error log appeared like: > > EAL: PCI device 0000:01:00.0 on NUMA socket 0 > EAL: probe driver: 144d:a822 spdk_nvme > EAL: Expecting 'PA' IOVA mode but current mode is 'VA', not initializing > In which situation does this error happen? When probing the device at eal init time? or later when hotplugging? Can you give the full eal logs with --log-level lib.*:debug? -- David Marchand