From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbeAYTZr (ORCPT ); Thu, 25 Jan 2018 14:25:47 -0500 Received: from mail-qt0-f175.google.com ([209.85.216.175]:41091 "EHLO mail-qt0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbeAYTZq (ORCPT ); Thu, 25 Jan 2018 14:25:46 -0500 X-Google-Smtp-Source: AH8x226ZVxIslEX1NVxC2QzNUWP/6WPA086mQElO3MWrXJgpR61emckSpJ5Lx2QFeagQMdvFuzUPgA== Message-ID: <1516908343.5161.4.camel@redhat.com> Subject: Re: "irq/matrix: Spread interrupts on allocation" breaks nouveau in mainline kernel From: Lyude Paul Reply-To: lyude@redhat.com To: Thomas Gleixner Cc: "Ghannam, Yazen" , "hpa@zytor.com" , "keith.busch@intel.com" , "mingo@kernel.org" , "linux-kernel@vger.kernel.org" , Borislav Petkov Date: Thu, 25 Jan 2018 14:25:43 -0500 In-Reply-To: References: <1516744873.29151.3.camel@redhat.com> <1516757219.29151.7.camel@redhat.com> <1516816150.4109.2.camel@redhat.com> <1516823810.4109.26.camel@redhat.com> <1516904638.5161.1.camel@redhat.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.4 (3.26.4-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-01-25 at 19:46 +0100, Thomas Gleixner wrote: > On Thu, 25 Jan 2018, Lyude Paul wrote: > > > I think you are right, apologies. Glad to know this isn't a regression in > > the > > IRQ handling code :). It looks like our nouveau problems are probably coming > > from the fact that we don't just leave IRQs setup through suspend/resume > > which > > as far as I can tell, is probably not the correct thing to do. > > If you tear down the interrupt, then you have to make sure that it's > completely masked and disabled on the device side (including MSI). Does this only need to be done if we handle irq_request()/irq_free() ourselves, or can we skip some of these steps if we let the kernel handle disabling/enabling IRQs during s/r? > > Thanks, > > tglx