Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1276346imm; Fri, 8 Jun 2018 13:07:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKzCgO6/wKY2Ro6MugNjyy51j82hGFhfxYbxEXFF0+TXOGmEKNUyuwn3Gh9uI9q59ZLNuPD X-Received: by 2002:a62:dc1c:: with SMTP id t28-v6mr7401422pfg.137.1528488420209; Fri, 08 Jun 2018 13:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528488420; cv=none; d=google.com; s=arc-20160816; b=m2L9YRKR2eBuZ+tIkwkvBUG4gyWqTpUS+4CO1ztf2J9Y8Zf+j6FzZ3IvHw/xobdGyE 30RCXOPF2toMRxoqYTDkgnfdabQX/QCdJqz/TAysYRCYyO/kDsQPxlaIctx67TBVOyfy 8pgl2iX/+ij15+WpfHYPPUriTZxrz8MC9wwuNuK615VzkbaYbm5DbUbwbD6Kag74GK9F iwdEdTAFvWzDDrKOWPh4KkZB8UR8VYpUMEU/h0n+neIHY6NFuLk7+Tl6pxcTGgqp+5+4 dXEs3Mv5ANNjOzfzn8LFanZCrxmQWX1zZ8eq6sy9MOoASDLM18SPby91LuisP2x5cE1u DxAw== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature:arc-authentication-results; bh=6gAB2X+Nzvr20ve4/ZT0YLxN0W4qCJf9Grws5ZfUmE8=; b=lYwozVQJl+4eVX+LjPiFVLTa29dfSIeCL5lItI8u3ODaLEdOKUZYrOm6xSrcL0YnXA Y5scq3Pr4Aaan1ZViy6mYO6ZD3zaGUVv7fM/2KPSaTtQP0jwqxpaDgTYMzh3civsq0hl rHfUtzuR5nxlqDQj08T/0sNtqTPTv0uGDR91csyerbhiNx4DdhPotGqjOGzcU9Yqrhal fbKYPKRhiwJg1Y4YCX6s+XrQGngAt30QoS2SG2hpnZrohMretTXFDWI4CjxW/W9vq0If +jMQpTLFzFt+HQ69xtocFkw7Stb8OCFdh+UMWao1x++Cp2iPlLusHbMH0UCJqJu3JrcE S0dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=N+yCrtJr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14-v6si6585690pgv.255.2018.06.08.13.06.45; Fri, 08 Jun 2018 13:07:00 -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; dkim=pass header.i=@kernel.org header.s=default header.b=N+yCrtJr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753175AbeFHUF7 (ORCPT + 99 others); Fri, 8 Jun 2018 16:05:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:49316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752708AbeFHUFz (ORCPT ); Fri, 8 Jun 2018 16:05:55 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7430C206B7; Fri, 8 Jun 2018 20:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528488354; bh=xMoU2gL3to3paFeEx0APhyEdHG1yffZbUidSoVDpXmw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=N+yCrtJrG37jPIQQJZ7eig9o/15Hs4kQIAecIhBuufsYr7J1W/NKufijNTKWIhUTS Q42yVknH5mb7ZfF1sMm0KCM/igUX2MJ0h6fxcdqSaqm2irrqLteOR7DLGkLCVbdbdE XTjIpBCInFuIH/PH0BTUd1PUhzvEIrX9yN1gROFQ= Subject: [PATCH v1 11/13] PCI/AER: Squash Kconfig.debug into Kconfig From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Keith Busch , Borislav Petkov , Oza Pawandeep , linux-kernel@vger.kernel.org Date: Fri, 08 Jun 2018 15:05:53 -0500 Message-ID: <152848835367.11888.14087620046663002613.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <152848785553.11888.12243539903985770441.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <152848785553.11888.12243539903985770441.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas Squash Kconfig.debug into Kconfig. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/aer/Kconfig | 16 ++++++++++++++-- drivers/pci/pcie/aer/Kconfig.debug | 19 ------------------- 2 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 drivers/pci/pcie/aer/Kconfig.debug diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig index 5a64eb3d6c7a..1996df082e89 100644 --- a/drivers/pci/pcie/aer/Kconfig +++ b/drivers/pci/pcie/aer/Kconfig @@ -13,6 +13,20 @@ config PCIEAER (AER) driver support. Error reporting messages sent to Root Port will be handled by PCI Express AER driver. +config PCIEAER_INJECT + tristate "PCIe AER error injector support" + depends on PCIEAER + default n + help + This enables PCI Express Root Port Advanced Error Reporting + (AER) software error injector. + + Debugging PCIe AER code is quite difficult because it is hard + to trigger various real hardware errors. Software based + error injection can fake almost all kinds of errors with the + help of a user space helper tool aer-inject, which can be + gotten from: + http://www.kernel.org/pub/linux/utils/pci/aer-inject/ # # PCI Express ECRC @@ -25,5 +39,3 @@ config PCIE_ECRC (transaction layer end-to-end CRC checking). When in doubt, say N. - -source "drivers/pci/pcie/aer/Kconfig.debug" diff --git a/drivers/pci/pcie/aer/Kconfig.debug b/drivers/pci/pcie/aer/Kconfig.debug deleted file mode 100644 index 67e02174b65b..000000000000 --- a/drivers/pci/pcie/aer/Kconfig.debug +++ /dev/null @@ -1,19 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# PCI Express Root Port Device AER Debug Configuration -# - -config PCIEAER_INJECT - tristate "PCIe AER error injector support" - depends on PCIEAER - default n - help - This enables PCI Express Root Port Advanced Error Reporting - (AER) software error injector. - - Debugging PCIe AER code is quite difficult because it is hard - to trigger various real hardware errors. Software based - error injection can fake almost all kinds of errors with the - help of a user space helper tool aer-inject, which can be - gotten from: - http://www.kernel.org/pub/linux/utils/pci/aer-inject/