Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2202061ybv; Fri, 14 Feb 2020 13:33:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwSavu+JEcp3RjLa2kNaIobzDkb7260+nMD2t+N8LReqxPK2Ypk5iKiKa/OZsRvZA3TO0tE X-Received: by 2002:a9d:6181:: with SMTP id g1mr4065259otk.104.1581716025891; Fri, 14 Feb 2020 13:33:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581716025; cv=none; d=google.com; s=arc-20160816; b=xi+NxSGzRt0n2f5Uaivx8pY2Gsn1ljQqTkyDuikicAf409BkZjw0w27viBqWkj3B5n LOnDf/Hmm+zBufMhnSzB4LqUGia2t+aI4tb6QLHPLNZlLsW8lumKZSF9lylbbJHm8co3 B5r8CgM3G+n/dD9wCvTKKKeGb19XRiGUJXllyl1c+8TEtDm/T1mxT/wtGWtwB33WI8t5 CIxB9olcXRBhMWKRkmE6pFXVwax9VbS66ZSUXKfIutwHxkOomL5wQRN9U1Xh39eZj8+k 0SVrU7PPuS7B+h3A+S3epJMRRu5//InksTXExVKXEfTWIT8Fr49fmKsLxF3O4VLyoyKs X3pA== 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=UXs7t6XSZIG/TFyZ8WViJGSoMDahgnHJcbdbXfqnwn8=; b=nPvkKzFDNTWl7ZdzTyNc0vx0ObGcsHkl4EugShkWIQoqk12x94PW85zubHfxZ2m8i+ SOQ0B5htAYy3KPooOgvlBEPUeJM4+flLirzG8xVWspsppeCB6Jzfsv2QyWD+2IbP2n5E RsU7AFqg3A1lLb81eMl8YaQqkOhC+rTkTTZUdRZJHM/mXCNnHKnHqTjiinaUKtmWM3+Z khmVzqPjoQMyFpzJ8SjllIaTr1DaPv6CKSA4RBQ6q6+IHyjQ3th/0Cwj5kDgy7Pn4L4K 5nQaSiTH38+mzGdwjLOIwuVcVOcNiePhYXzONFzn57U2C4YZiOP2rObm/xnnbbOskQYf 8mpA== 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 d1si3453172oth.158.2020.02.14.13.33.33; Fri, 14 Feb 2020 13:33:45 -0800 (PST) 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 S2388769AbgBNVdW (ORCPT + 99 others); Fri, 14 Feb 2020 16:33:22 -0500 Received: from mga14.intel.com ([192.55.52.115]:64984 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbgBNVdV (ORCPT ); Fri, 14 Feb 2020 16:33:21 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Feb 2020 13:33:21 -0800 X-IronPort-AV: E=Sophos;i="5.70,441,1574150400"; d="scan'208";a="227742868" Received: from mravago-mobl.amr.corp.intel.com (HELO arch-ashland-svkelley.intel.com) ([10.252.135.120]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Feb 2020 13:33:20 -0800 From: Sean V Kelley To: tglx@linutronix.de, bhelgaas@google.com, corbet@lwn.net, mingo@redhat.com, bp@alien8.de Cc: x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kar.hin.ong@ni.com, sassmann@kpanic.de, Sean V Kelley Subject: [PATCH 0/2] Add boot interrupt quirk mechanism for Xeon chipsets Date: Fri, 14 Feb 2020 13:33:11 -0800 Message-Id: <20200214213313.66622-1-sean.v.kelley@linux.intel.com> X-Mailer: git-send-email 2.25.0 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 When IRQ lines on secondary or higher IO-APICs are masked (e.g., Real-Time threaded interrupts), many chipsets redirect IRQs on this line to the legacy PCH and in turn the base IO-APIC in the system. The unhandled interrupts on the base IO-APIC will be identified by the Linux kernel as Spurious Interrupts and can lead to disabled IRQ lines. Disabling this legacy PCI interrupt routing is chipset-specific and varies in mechanism between chipset vendors and across generations. In some cases the mechanism is exposed to BIOS but not all BIOS vendors choose to pick it up. With the increasing usage of RT as it marches towards mainline, additional issues have been raised with more recent Xeon chipsets. This patchset disables the boot interrupt on these Xeon chipsets where this is possible with an additional mechanism. In addition, this patchset includes documentation covering the background of this quirk. Sean V Kelley (2): pci: Add boot interrupt quirk mechanism for Xeon chipsets Documentation:PCI: Add background on Boot Interrupts Documentation/PCI/boot-interrupts.rst | 153 ++++++++++++++++++++++++++ Documentation/PCI/index.rst | 1 + drivers/pci/quirks.c | 80 ++++++++++++-- 3 files changed, 227 insertions(+), 7 deletions(-) create mode 100644 Documentation/PCI/boot-interrupts.rst -- 2.25.0