From patchwork Thu Nov 2 22:14:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10039347 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 70308603B5 for ; Thu, 2 Nov 2017 22:14:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 617AB293F9 for ; Thu, 2 Nov 2017 22:14:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5517B29401; Thu, 2 Nov 2017 22:14:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFC99293F9 for ; Thu, 2 Nov 2017 22:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752488AbdKBWOJ (ORCPT ); Thu, 2 Nov 2017 18:14:09 -0400 Received: from merlin.infradead.org ([205.233.59.134]:38986 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbdKBWOI (ORCPT ); Thu, 2 Nov 2017 18:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V2YMVWP4MRrkfZfCbDjnmAGSPdPfc5LRL7nFUUFCPGA=; b=A212AzL/Qj7SslvKCEytF24xDC TO4ny2hSWfMcjL6HJE3zjTXxLBBZKjaTCtpYxsiotATbGxsjwh7hdG9LeobIoWRa0M9WlyHVo9yc7 RIxcRn3jdX24OdyUd1CKlFXaZJqrcMGEoY/ixHhz9dtwG+D8W8/YpXWDq/WPuzqXi5+jDpjKlqBkh ecQ5MMGLIySKnLCL8mmyG7hIoTZoNm5mWweHOGY2n3B+umDJIOSRszMb5EevO3uN8iGpBP8X0y5LG m/8PQxOjT/JHUCI4tUF2dwJhiBnaqrdCmF4CRHIfRcVSIgAbJa21z+XLYl2QPpe/Fk8qy7xSA3r5Z 9J7Uye6w==; Received: from static-50-53-32-32.bvtn.or.frontiernet.net ([50.53.32.32] helo=midway.dunlap) by merlin.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1eANkT-0004UA-4W; Thu, 02 Nov 2017 22:14:05 +0000 To: linux-pci , LKML , Bjorn Helgaas Cc: Andrew Morton From: Randy Dunlap Subject: [PATCH] pci: move PCI_QUIRKS to the PCI bus menu Message-ID: <95976b5f-e1df-358e-f457-38efd359de17@infradead.org> Date: Thu, 2 Nov 2017 15:14:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Localize PCI_QUIRKS in the PCI bus menu. Move PCI_QUIRKS to the PCI bus menu instead of the (often broken) General Setup EXPERT menu. The prompt still depends on EXPERT. Signed-off-by: Randy Dunlap --- drivers/pci/Kconfig | 9 +++++++++ init/Kconfig | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) --- lnx-414-rc7.orig/drivers/pci/Kconfig +++ lnx-414-rc7/drivers/pci/Kconfig @@ -29,6 +29,15 @@ config PCI_MSI_IRQ_DOMAIN depends on PCI_MSI select GENERIC_MSI_IRQ_DOMAIN +config PCI_QUIRKS + default y + bool "Enable PCI quirk workarounds" if EXPERT + depends on PCI + help + This enables workarounds for various PCI chipset + bugs/quirks. Disable this only if your target machine is + unaffected by PCI quirks. + config PCI_DEBUG bool "PCI Debugging" depends on PCI && DEBUG_KERNEL --- lnx-414-rc7.orig/init/Kconfig +++ lnx-414-rc7/init/Kconfig @@ -1379,15 +1379,6 @@ config USERFAULTFD Enable the userfaultfd() system call that allows to intercept and handle page faults in userland. -config PCI_QUIRKS - default y - bool "Enable PCI quirk workarounds" if EXPERT - depends on PCI - help - This enables workarounds for various PCI chipset - bugs/quirks. Disable this only if your target machine is - unaffected by PCI quirks. - config MEMBARRIER bool "Enable membarrier() system call" if EXPERT default y