{"id":819307,"url":"http://patchwork.ozlabs.org/api/patches/819307/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/patch/1506544822-2632-4-git-send-email-jonathan.derrick@intel.com/","project":{"id":28,"url":"http://patchwork.ozlabs.org/api/projects/28/?format=json","name":"Linux PCI development","link_name":"linux-pci","list_id":"linux-pci.vger.kernel.org","list_email":"linux-pci@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506544822-2632-4-git-send-email-jonathan.derrick@intel.com>","list_archive_url":null,"date":"2017-09-27T20:40:22","name":"[RFC,3/3] Documentation: Add pci device delete_id interface","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"c1e03b3745d94d762b263aa097729a89428194f2","submitter":{"id":68102,"url":"http://patchwork.ozlabs.org/api/people/68102/?format=json","name":"Jon Derrick","email":"jonathan.derrick@intel.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-pci/patch/1506544822-2632-4-git-send-email-jonathan.derrick@intel.com/mbox/","series":[{"id":5445,"url":"http://patchwork.ozlabs.org/api/series/5445/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/list/?series=5445","date":"2017-09-27T20:40:19","name":"Introduce PCI device blacklisting","version":1,"mbox":"http://patchwork.ozlabs.org/series/5445/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819307/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819307/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-pci-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2VCd5JLgz9t66\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 06:43:41 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751692AbdI0Un2 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 16:43:28 -0400","from mga09.intel.com ([134.134.136.24]:28966 \"EHLO mga09.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751905AbdI0UnU (ORCPT <rfc822;linux-pci@vger.kernel.org>);\n\tWed, 27 Sep 2017 16:43:20 -0400","from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Sep 2017 13:43:20 -0700","from eremita.lm.intel.com (HELO centos7-vm.localdomain)\n\t([10.232.112.85])\n\tby fmsmga004.fm.intel.com with ESMTP; 27 Sep 2017 13:43:19 -0700"],"X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.42,446,1500966000\"; d=\"scan'208\";a=\"316977890\"","From":"Jon Derrick <jonathan.derrick@intel.com>","To":"Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tBjorn Helgaas <helgaas@kernel.org>","Cc":"<linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n\tArjan van de Ven <arjan@linux.intel.com>,\n\tAlan Cox <alan@linux.intel.com>,\n\tDan J Williams <dan.j.williams@intel.com>,\n\tJon Derrick <jonathan.derrick@intel.com>","Subject":"[RFC 3/3] Documentation: Add pci device delete_id interface","Date":"Wed, 27 Sep 2017 16:40:22 -0400","Message-Id":"<1506544822-2632-4-git-send-email-jonathan.derrick@intel.com>","X-Mailer":"git-send-email 1.8.3.1","In-Reply-To":"<1506544822-2632-1-git-send-email-jonathan.derrick@intel.com>","References":"<1506544822-2632-1-git-send-email-jonathan.derrick@intel.com>","Sender":"linux-pci-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-pci.vger.kernel.org>","X-Mailing-List":"linux-pci@vger.kernel.org"},"content":"Document the <driver>.delete_id= cmdline interface for masking built-in\nand module device id tables.\n\nSigned-off-by: Jon Derrick <jonathan.derrick@intel.com>\n---\n Documentation/admin-guide/kernel-parameters.txt | 13 +++++++++++++\n 1 file changed, 13 insertions(+)","diff":"diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt\nindex 0549662..862c8b5 100644\n--- a/Documentation/admin-guide/kernel-parameters.txt\n+++ b/Documentation/admin-guide/kernel-parameters.txt\n@@ -789,6 +789,19 @@\n \t\t\tDefaults to the default architecture's huge page size\n \t\t\tif not specified.\n \n+\tdriver.delete_id=\n+\t\t\t[PCI]\n+\t\t\tSpecified pci device format(s) will mask built-in\n+\t\t\tdriver id tables, preventing devices from\n+\t\t\tautomicatically attaching to built-in or module\n+\t\t\tdrivers.  Later attachment should be done by adding the\n+\t\t\tdeleted id back through the \"new_id\" sysfs interface.\n+\t\t\tFormat: <vendor>:<device>[:<subvendor>:<subdevice>]\\\n+\t\t\t\t\t[:class][:class_mask][, ...]\n+\t\t\tPCI_ANY_ID masks should use the full 32-bit format.\n+\t\t\tExamples: virtio-pci.delete_id=ffffffff:ffffffff\n+\t\t\t\t  nvme.delete_id=1234:5678,1111:ffffffff\n+\n \tdhash_entries=\t[KNL]\n \t\t\tSet number of hash buckets for dentry cache.\n \n","prefixes":["RFC","3/3"]}