Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2983528imu; Mon, 19 Nov 2018 08:59:10 -0800 (PST) X-Google-Smtp-Source: AJdET5d66Z5xII36noc5OI+JHRtWUwz4M3TQ6dGpMmnrADbYVfTAEpggjLBrdZP3NphpZ/m1Supp X-Received: by 2002:a62:cf02:: with SMTP id b2mr16727237pfg.183.1542646750230; Mon, 19 Nov 2018 08:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542646750; cv=none; d=google.com; s=arc-20160816; b=sz8Lk91D9aucAqFBGwJ7Abwewi9LRrz0NaJY4nv4ZXTj0BKjM/A2N63jinvkMCzphx CmH/6p4mY/K4jXTLmn3c5zWmNzl8LlRkLmsGnRjxkjcviJSe8kDFD94/+XIXZkpxCAO8 YO0qaJQqfT+Cn2beZ4HvSGTg0myyKMLLa1ffbh/Cr7ZiRKeWGAIGBnIO5cUZM/aQYNjR Y7mU56T1dMqI9xN5kqiQTJHxceEenwHgQptu9Cu9DBa/yyN5VY2rAx94bJe+hZ/GOGrE UEhX3NGP/Gjci/1rn7upoHSftuUJDWRS/wfaWUSAGbTJDTSjviyjm9ZL3iKjORMq+JOs 8u8Q== 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=9RSyDlgZVLrYJjUu6eY54DqfUhkI6SbruXhVTmp2My4=; b=DVpamcrp2oENpN/smhsacbS44JaneX2Z1nRDb3Tvo1Pr2chYQRzJC/O5K/7vr5Egzs QObcQkjo8EdG7C/QOuwE3zxk91+ljjyNXzBb3R46zDwCh1lzqIrWV+c5CHefwGZCDCR/ qbECPRN0+3o9jKdfwXSeU0iXPXkeGvKiy8KxExtoWCwNRO4Q2ggTg/7qzenyNeMwdabG WQGPIh92j1GxtA8PwRdj1WRTsLe0CbWkilXWkc4V/oBSRTef3s/IA+0FC6FpR2GEgnhO 6C8D0junNMNDT/YmZ5GYFOrMcDhtN96VcSLLEGi5DLr9/xBN1diOUbTFZXMTh7JhEqY7 mYgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EfiVaP+0; 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 v2si39578372pgn.451.2018.11.19.08.58.55; Mon, 19 Nov 2018 08:59:10 -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=EfiVaP+0; 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 S2404763AbeKTDWb (ORCPT + 99 others); Mon, 19 Nov 2018 22:22:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:34196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403834AbeKTDWa (ORCPT ); Mon, 19 Nov 2018 22:22:30 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 D83682146D; Mon, 19 Nov 2018 16:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542646695; bh=Ih8tfFxSsu0iFHhQeABm0uYNVSnh7x/xMR6cd1GDjxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EfiVaP+0Qct2gWZoT7/oV3txXd1gkeH0c4QAf1AzRubbwtpT164ulKJzssL5XrI8t no+C38WjODyLGxT27AV6wPaxIGawjdX8UCz/lgG0mrYUEnZRpnXabpACPg1Zig2gU1 fwg/AKOngrBCn2HPGwB+QQEUPbHK5/pqn276acBA= 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.4 054/160] PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk Date: Mon, 19 Nov 2018 17:28:13 +0100 Message-Id: <20181119162636.755535884@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119162630.031306128@linuxfoundation.org> References: <20181119162630.031306128@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.4-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 @@ -3061,7 +3061,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);