From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=u4dG32zz1tjcfuyoLxZUDrVHm7p6TvzFQb34X1rnfw4=; b=l6oeCzQwR894xqeUZ0yVYmzfVuEW81Jeok43E1buD0kCxLpA45XtMBHiKDSjP2OHpd KqLRWZwH4HigqR60bR5eyLwJ/STQVtVsxDBLXF+trLittWJ6tJdjw8+ybgz9xVBElFeZ LoBbe7t5tT52cxbb07bWj5sAIn3Aw2pupTRYUUQndYnAlD55ZpUnYrAoKZB7U6j+5Zgx 8VxHMRFmJZhpBN+pMq//y+vHC8fR1J/EgyFoQ5w+Wjjpm71aNQOhTVvASZU4pof+ehSY BJYDd/8p9XgKQx0ZS3ZBrlAyZVGFehrrfPOXh4oDE0FuCIZKzt2xGb/mqaKaM6GXyuve QTrg== X-Gm-Message-State: ALoCoQlJ7Ue12ftbk0c7xPTjlZKZbzhGv0LRlR1thPjNt8qF/a1fnjvoRhS1KZrvZ1YkcE4KDsBq X-Received: by 10.181.11.229 with SMTP id el5mr3213242wid.40.1436863553337; Tue, 14 Jul 2015 01:45:53 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ib9sm699029wjb.2.2015.07.14.01.45.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 01:45:52 -0700 (PDT) From: Thomas Monjalon To: Tetsuya Mukawa Date: Tue, 14 Jul 2015 10:44:40 +0200 Message-ID: <2095536.JPkyHAfgqb@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1436596189-1831-1-git-send-email-mukawa@igel.co.jp> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix vfio device never works. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 08:45:53 -0000 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