Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3431749imu; Sun, 11 Nov 2018 14:58:54 -0800 (PST) X-Google-Smtp-Source: AJdET5e7a3/qvaVBfvOVBp5/lnFhAK4plmiRyXqrySKhWppgMlVIzuJ6aSH3Iml6eC01/zYSu7Jn X-Received: by 2002:a65:6645:: with SMTP id z5mr1677477pgv.351.1541977134005; Sun, 11 Nov 2018 14:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977133; cv=none; d=google.com; s=arc-20160816; b=WpRnt4ebgLUaUxmmVVWIumCdcNKOfdWeW71uXMjVA18T0i9XZmU7GXoZ2DgETr2pHr r2Wj0ghju7L00yOY4xqQN7PFDPjaqz/M83CvAis16tZKtnM113wJkcE+yKW8vT991BVG nywpy/At4rnA6Tg1MehIJwl78FtArRcnHEhri+EoeEBWWZo//jRPCpFsV60lATCgPfVo dCJUrKE5xMxCRJYrfYomDrymr1crs+SARKdBgz748/rz9lRNRjaI7tJwOAfjkNlJqSbD TM1vbrm9Ap/bMNuP2LgmE0Knntuu/3FTkOd4sk5IAvx0m6MJNZigD3LAWzo3kZNNUGCv LM+A== 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:subject:cc:to :from:dkim-signature; bh=krub6EQbgwE2/hi7BXmfHCFOa9IUbRFlBwkpTwtD4FM=; b=b+iyDfYToFIB7vaL6F57oTF2ivzOQZcl+iocdXj4jc3b65ErNrpJ251xSvbkYywY0P yYPsUTUxD6zLK6N0AZwSnpdmSRskvipkAo1CCbge8Xdqe5xTXRKKaciu/9PDuCOHN2Ea M3KZtJ6s6rrzC2AjLt6QuKUfgQpWOfgksbjkkrcVa6TCvZkGudTsr78GGZxmB9QjyvhP xmXJIuGKAeW4WgKx85rYzFT+dRvDWwMUSSP/a2Kx585Trlf61XVmpEH6bSRv/7lj8bpO 7XOuK38hBCjFqXvwjeTRQDcknSL7WfVVhLdPhagOzODU5SrUx0HSKPJB3mnEdtcDYOru vHEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XYFUdh58; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g137-v6si18065537pfb.34.2018.11.11.14.58.38; Sun, 11 Nov 2018 14:58:53 -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; dkim=pass header.i=@kernel.org header.s=default header.b=XYFUdh58; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391097AbeKLIrI (ORCPT + 99 others); Mon, 12 Nov 2018 03:47:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:54510 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390837AbeKLIWt (ORCPT ); Mon, 12 Nov 2018 03:22:49 -0500 Received: from localhost (unknown [206.108.79.134]) (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 70D2E21780; Sun, 11 Nov 2018 22:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975572; bh=rrjUaeXKfR2PkZOHQvQQ+sGAU4EUU/L6hbixO2V+kbQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XYFUdh58MzbNhm0VShndNELuWcowqt2nm+hXjrlaGuXGPnpV3E3Vvk+X+wo21ANvw dejt3inFp/PhQIbbwyyl5Euuq+gq9J/WuWZ+yo5eN7czUa4UjVBOWBNdmzQR5yu0oO gLwMvcLD+iGbWT3LO9iYmf/wFETGDIfbeDS9QZRY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bin Meng , Bjorn Helgaas Subject: [PATCH 4.14 147/222] PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk Date: Sun, 11 Nov 2018 14:24:04 -0800 Message-Id: <20181111221700.583838437@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bin Meng commit d0c9606b31a21028fb5b753c8ad79626292accfd upstream. Add Device IDs to the Intel GPU "spurious interrupt" quirk table. For these devices, unplugging the VGA cable and plugging it in again causes spurious interrupts from the IGD. Linux eventually disables the interrupt, but of course that disables any other devices sharing the interrupt. The theory is that this is a VGA BIOS defect: it should have disabled the IGD interrupt but failed to do so. See f67fd55fa96f ("PCI: Add quirk for still enabled interrupts on Intel Sandy Bridge GPUs") and 7c82126a94e6 ("PCI: Add new ID for Intel GPU "spurious interrupt" quirk") for some history. [bhelgaas: See link below for discussion about how to fix this more generically instead of adding device IDs for every new Intel GPU. I hope this is the last patch to add device IDs.] Link: https://lore.kernel.org/linux-pci/1537974841-29928-1-git-send-email-bmeng.cn@gmail.com Signed-off-by: Bin Meng [bhelgaas: changelog] Signed-off-by: Bjorn Helgaas Cc: stable@vger.kernel.org # v3.4+ Signed-off-by: Greg Kroah-Hartman --- drivers/pci/quirks.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3163,7 +3163,11 @@ static void disable_igfx_irq(struct pci_ pci_iounmap(dev, regs); } +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0042, disable_igfx_irq); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0046, disable_igfx_irq); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x004a, disable_igfx_irq); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0106, disable_igfx_irq); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);