From patchwork Mon May 14 10:44:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xu, Rosen" X-Patchwork-Id: 39995 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12F711C779; Mon, 14 May 2018 12:43:30 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id EDBB91C771; Mon, 14 May 2018 12:43:27 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 03:43:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,399,1520924400"; d="scan'208";a="41060280" Received: from dpdkx8602.sh.intel.com ([10.67.110.200]) by orsmga008.jf.intel.com with ESMTP; 14 May 2018 03:43:25 -0700 From: Rosen Xu To: dev@dpdk.org Cc: anatoly.burakov@intel.com, gaetan.rivet@6wind.com, john.mcnamara@intel.com, rosen.xu@intel.com, yulong.pei@intel.com, stable@dpdk.org Date: Mon, 14 May 2018 18:44:12 +0800 Message-Id: <1526294652-102665-1-git-send-email-rosen.xu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] doc/guides/rel_notes: Add known issue for IOMMU attributes read 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" Read IOMMU attributes from linux kernle 4.10.0 error. Cc: stable@dpdk.org Signed-off-by: Rosen Xu --- doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index afcc2c4..74876ff 100644 --- a/doc/guides/rel_notes/known_issues.rst +++ b/doc/guides/rel_notes/known_issues.rst @@ -714,3 +714,24 @@ igb_uio can not be used when running l3fwd-power **Driver/Module**: ``igb_uio`` module. + + +linux kernel iommu attribute read error +--------------------------------------- + +**Description**: + Read immu attributes from /sys/devices/virtual/iommu/dmarXXX/intel-iommu/cap in linux kernel + 4.10.0 error. That because the link between the iommu sysfs-device and the struct intel_iommu + is no longer stored as driver-data. + +**Implication**: + When insmod ``vfio-pci`` and running testpmd APP, it doesn't initiate properly. + +**Resolution/Workaround**: + Use other linux kernel version. It only happens in linux kernel 4.10.0. + +**Affected Environment/Platform**: + ALL OS of linux kernel 4.10.0. + +**Driver/Module**: + ``vfio-pci`` module.