Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757231Ab3CSTOm (ORCPT ); Tue, 19 Mar 2013 15:14:42 -0400 Received: from mail-ia0-f175.google.com ([209.85.210.175]:38506 "EHLO mail-ia0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754196Ab3CSTOk (ORCPT ); Tue, 19 Mar 2013 15:14:40 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 19 Mar 2013 12:14:39 -0700 X-Google-Sender-Auth: QcisJeKj-nbPlkGmrouqeL6VE-g Message-ID: Subject: Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses From: Yinghai Lu To: Daniel Vetter Cc: Alan Stern , Chris Wilson , Jiri Kosina , Greg KH , Harald Arnesen , Kernel development list , "Rafael J. Wysocki" , Peter Hurley , Thomas Meyer , Shawn Starr , USB list , linux-acpi@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Imre Deak , Daniel Kurtz , dri-devel@lists.freedesktop.org, Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org, Arkadiusz Miskiewicz Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 28 On Tue, Mar 19, 2013 at 9:54 AM, Daniel Vetter wrote: > I guess I should have phrased it more precisely, but that's exactly > what I expect is happening on my machine: I don't have anything on > irq16 (i.e. in non-msi mode the gfx interrupt isn't shared) and hence > the irq is completely disabled. Which obviously makes it impossible > for me to reproduce the issue. To test that theory, is there a quick > way to force-enable a given interrupt, short of just hacking up a 2nd > dummy irq handler in my driver? You may try to add another request_irq() after i915_load_modeset_init==>drm_irq_install. That could install one dummy action for ioapic irq for i915. Also you may need to add one quirk that does not disable intx during msi enabling like: DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x2e22, quirk_msi_intx_disable_bug); Thanks Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/