From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix vfio device never works. Date: Tue, 14 Jul 2015 10:44:40 +0200 Message-ID: <2095536.JPkyHAfgqb@xps13> References: <1436514439-4893-1-git-send-email-michael.qiu@intel.com> <1436596189-1831-1-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Tetsuya Mukawa Return-path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 8600B5A0A for ; Tue, 14 Jul 2015 10:45:53 +0200 (CEST) Received: by wgmn9 with SMTP id n9so2955080wgm.0 for ; Tue, 14 Jul 2015 01:45:53 -0700 (PDT) In-Reply-To: <1436596189-1831-1-git-send-email-mukawa@igel.co.jp> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-07-11 15:29, Tetsuya Mukawa: > The patch fixes vfio initialization issue introduced by below patch. > - Commit 35b3313e322b ("pci: merge mapping functions for linux and bsd") > > Root cause is that VFIO_PRESENT is inaccessible in eal common level. > To fix it, remove pci_map/unmap_device from common code, then implement > in linux and bsd code. > > Reported-by: Michael Qiu > Signed-off-by: Tetsuya Mukawa Applied, thanks