Received: by 10.223.176.46 with SMTP id f43csp2541426wra; Thu, 25 Jan 2018 11:26:25 -0800 (PST) X-Google-Smtp-Source: AH8x225hS+Gi6SC4XqNw0LDkwxO/2ihSIMyzmR3EkWZqIq8IATc99FrlmxFgauIiqZdQ2TEgDkbb X-Received: by 10.98.101.71 with SMTP id z68mr16954410pfb.181.1516908385727; Thu, 25 Jan 2018 11:26:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516908385; cv=none; d=google.com; s=arc-20160816; b=X0qKtg+IY5t43LF8vW/cdjY/ye+3wRL/lj5VevrUiotPvi3l8E0Qw1eO/q1u73p6w/ t1Giujc2GLYQ34ydXgQATIrnUeTnphSQ2NOpm/wyrd5T2GhFLr30gchWpnPXvwBsZTx3 ChJCO9kx2HIj42Wwxy6H5uM5qtEg7NxtpmXsslKIVFFRYnO1JK5X8VL3xVR2U55dqgO0 DlB1dUHG6V27rQrBIs8HeNPwSs7YOQ52rHVHsbCMrNTxBPDj9bIvev0K2wrNnoC/jVRT yo5i1T5MbdasbhcClGgKr7uG2oliGLIhj0y1F5yAjioiqNzF/qldsc4Dv+VKpyn2ywBI iPgQ== 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 :organization:references:in-reply-to:date:cc:to:reply-to:from :subject:message-id:arc-authentication-results; bh=570Dbt416ncvyj8UBqTlZ3BsfvOGqzbcm9SD7tGXzMo=; b=TFjQo8BOSsM++q3Xyw5Fgijq2Bq1WznoeYa2Mshb9N2XBQxXow/CiLmcOsyUZI27CZ Uz3BJuw6YFJS+u4Y4JnMsfhyEji4Y+D3mA1QDBMRFfrnFn8t3waeqSRSZcN2Z8h0yBJi Feuc5RCD9/fEvaRRox/y0BA4Q8ovxGqSFVLOpjTPHLz57ARP5zLcs7SJ8YILyDKVFfFx XFn0Ps19+tIOGQXFbk0Zls8MErOJFUe7FVDNpvRC6c0as/5E6znmoxJ45p7p5nY9V6kf aN+vAs5x3eWNXaNis4j8jVNRo5BC+FONJAhJRzGMZoiPyJbL468ncyYUCN3Tf9l9p/1a dnkA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z186si1907522pgb.760.2018.01.25.11.26.11; Thu, 25 Jan 2018 11:26:25 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751187AbeAYTZr (ORCPT + 99 others); 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 Received: by mail-qt0-f175.google.com with SMTP id i1so22056121qtj.8 for ; Thu, 25 Jan 2018 11:25:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:organization:mime-version :content-transfer-encoding; bh=570Dbt416ncvyj8UBqTlZ3BsfvOGqzbcm9SD7tGXzMo=; b=g5ylXSsKk1tGuFAw2ZmvTlyqssBfWnsYilNHp58QnHublA0tzuLSUNCUL2arwS1olJ 5oOqYUa9NQUxvmIDM+Hba/zywhDhHNCvvkKYe7KPYDPUtL1oM1vOXsIIuLfBG4amAG06 L5avInRPTwGKpe+wlnsSCHcaOsG8ELc0g5+9vktRhaQOFWuyFlIlm0bT+6AAmRtrOwDI thxasl7UXNRl4jFjFAYMQW8gLFvv9hsrI4DI3sBiphncC1kZe8t9/aEh2Gll6OS7heH7 eVBw7Mm7cohbyHOsp1GIgn4c2TNPDG+VuHH6csG6+bL61TwRccvWFQiytGbCnWmdRCnv Q5ZA== X-Gm-Message-State: AKwxytdWN3GO4n+uwJ+J6hY5Z1DI0JrXH7d5fXC11FH6qrS1ID9PHFAf kEO7ZgVGdivnluV6aH/tufM9GZCjaxw= X-Received: by 10.200.35.208 with SMTP id r16mr19810640qtr.256.1516908345868; Thu, 25 Jan 2018 11:25:45 -0800 (PST) Received: from whitewolf.lyude.net (pool-108-26-161-12.bstnma.fios.verizon.net. [108.26.161.12]) by smtp.gmail.com with ESMTPSA id h55sm4296976qta.75.2018.01.25.11.25.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jan 2018 11:25:45 -0800 (PST) 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 Precedence: bulk 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