Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2714542yba; Mon, 6 May 2019 10:23:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqz06BIYQvjpxVShhEbBCqMnUqTvXp4ZdtXCU7Cz/rOEwnRoUtFaXOLN2uWXthZ5K0+ls0N7 X-Received: by 2002:a63:1706:: with SMTP id x6mr564768pgl.280.1557163423027; Mon, 06 May 2019 10:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557163423; cv=none; d=google.com; s=arc-20160816; b=us4NK79bRDoKQJpVGOXb0NV+XcsAKcJbXgeQySMHuJaIIegC2VsAKv0uiTRvuSLc5C yFCkBSby7BBEx5MARe6Ba3T5QsfA/CowDZFQMuN19qcOpSYNcfhN24FB3l19ivReMjZl HBXJjAwCVMcR1h5NPo/BzBfxVy5uGytInRUaBr5RIxwSiRzhdyzQWgz5q/n+MyHio9GG YtGs6HEWDE2Qe8uS3NMupDt/0oi9CaRyZEB8T0iw5jjREYMD3D/NR5mNM32j+h0XU90E MqoPwdT4TqQuz/5N6TGK/i0cdaWjzOrsg0beOJdBbObZK8dYYPqfdNdZzjdODrI0t7oB wcQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YyMRnq69tr7NTpUKDsIakrSEDpzhi0xX5xa26aZFtyU=; b=LdddQzQKKvvUUuHB8iryColV/eXbek5Skx8YDSn47u+AP9qWx0doWASEwOGuzukLuK 6q20obMM36mhQSQdrJi9AX7qbMjqaz9QbenB1Vln8017kGq0E1KfJCxdhhFsMUEzeY6F tHHjpq2/AjaSmKPm4TdfJfO6smBVvoGvuGd4609+k5+G4e0G/CB8KzMLHpxdQ8TcwX6P QOarTioNJHovhZSANk4UQLrCdSBOGbdgzrg+suPMARI1ZmAijTjIL3GaioMRI08cxBQx LI1IK3DhOhtIa80xreYo1X4aFk4ByC5632kQ0SOL4bdr2cCHvLYmadGeD+x/aHCZuFza w4+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18si13732965pfd.64.2019.05.06.10.23.26; Mon, 06 May 2019 10:23:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbfEFRWV (ORCPT + 99 others); Mon, 6 May 2019 13:22:21 -0400 Received: from mga07.intel.com ([134.134.136.100]:31139 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbfEFRWS (ORCPT ); Mon, 6 May 2019 13:22:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 May 2019 10:22:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,438,1549958400"; d="scan'208";a="230014470" Received: from skuppusw-desk.jf.intel.com ([10.54.74.33]) by orsmga001.jf.intel.com with ESMTP; 06 May 2019 10:22:15 -0700 From: sathyanarayanan.kuppuswamy@linux.intel.com To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ashok.raj@intel.com, keith.busch@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com Subject: [PATCH v2 0/5] Fix PF/VF dependency issues Date: Mon, 6 May 2019 10:20:02 -0700 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuppuswamy Sathyanarayanan Current implementation of ATS, PASID, PRI does not handle VF dependencies correctly. Following patches addresses this issue. Changes since v1: * Added more details about the patches in commit log. * Removed bulk spec check patch. * Addressed comments from Bjorn Helgaas. Kuppuswamy Sathyanarayanan (5): PCI/ATS: Add PRI support for PCIe VF devices PCI/ATS: Add PASID support for PCIe VF devices PCI/ATS: Skip VF ATS initialization if PF does not implement it PCI/ATS: Disable PF/VF ATS service independently PCI: Skip Enhanced Allocation (EA) initalization for VF device drivers/pci/ats.c | 131 +++++++++++++++++++++++++++++++++++++++----- drivers/pci/pci.c | 7 +++ include/linux/pci.h | 3 +- 3 files changed, 126 insertions(+), 15 deletions(-) -- 2.20.1