Received: by 10.213.65.68 with SMTP id h4csp859167imn; Wed, 4 Apr 2018 08:25:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx495V5MnX1trygq2Xr5UO2yINpcipDVBxfJ+k1CNgFYMG9UemOL8VfX9dDfereD9kNHtfcKY X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr19027911plb.90.1522855536583; Wed, 04 Apr 2018 08:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522855536; cv=none; d=google.com; s=arc-20160816; b=YNLhbVxueRTFjmbX5JJv9NiQ5xeOufQHLRtExkDDTkkcaBqyu7w9kQt5JSagvF5tOw vwX3aIvxdwyVhi1IC0Pb7iLnQ3xLOe92nlwOt1RkXOUiZG/QSsCNN8uU+/rE8Ilf8iAF +WxyA+sFHYPJ1uUWjRTCdwgmxQicsyVxLYXltK3eUTw/Rn0EaZ1qhcEEaVQn8ElbXcMh l5lP8HHvZEfNXf4QkEaImEtKKW1J8fKJ1G5RK4ubEFcIMeDILnK0NQW+KKgmGWcnzX6A OfVE4znjiYaRhyyaE/F70v/48bO/N/CY3kPG1e3gBJ/tC9iVXkSVDAPgiZ4Ro5v+l6L4 Nh7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=0/L6+6qa6j3ZELAZOG75IRMIuGhQBXmu/q0vbLsDzeU=; b=fMCSXNQwqw4h9KgEkmXvCxQItVMbmnLXS3iXAfLlZQz7N0Yn5L+o8EhAFZuwSfRPGO SeflFwMqMHdUwSv6CUXYgq/e7+ysmR2iqRr/8jdjmaDeP09lYDP3bFMyzKiVEIUwGSqP 3rcklYrpU8Dr53qgXaG1mIifZw27RFEden8uNHK5wQi7Y6N7Xr8WhDmrGcchjXny0KIR 8wPip43wjZCQYrZQTDtVf4epEihuSbrfmx5s6ynsPo3Z6w7bpD2sFbEbiXe8sGo5yMmL fyvFdAYLgw1XYIGVUkVPurTztOsdYwwevUuxY1FgsofjbtjX8JfOKw74oCLYaEPv0i3k N37Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2-v6si3355291plo.434.2018.04.04.08.25.22; Wed, 04 Apr 2018 08:25:36 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbeDDPYN (ORCPT + 99 others); Wed, 4 Apr 2018 11:24:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41480 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329AbeDDPYL (ORCPT ); Wed, 4 Apr 2018 11:24:11 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7789ABD1; Wed, 4 Apr 2018 15:24:10 +0000 (UTC) Date: Wed, 4 Apr 2018 17:24:10 +0200 From: Greg Kroah-Hartman To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Prarit Bhargava , Bjorn Helgaas , Alex Williamson , David Arcari , Myron Stowe , Lukas Wunner , Keith Busch , Mika Westerberg , Sasha Levin Subject: Re: [PATCH 4.4 009/134] PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown() Message-ID: <20180404152410.GA25048@kroah.com> References: <20180319171849.024066323@linuxfoundation.org> <20180319171850.444128621@linuxfoundation.org> <1522337334.2654.14.camel@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1522337334.2654.14.camel@codethink.co.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 29, 2018 at 04:28:54PM +0100, Ben Hutchings wrote: > On Mon, 2018-03-19 at 19:04 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.??If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Prarit Bhargava > > > > > > [ Upstream commit fda78d7a0ead144f4b2cdb582dcba47911f4952c ] > [...] > > The MSI disabling code was added by d52877c7b1af ("pci/irq: let > > pci_device_shutdown to call pci_msi_shutdown v2") because a driver left MSI > > enabled and kdump failed because the kexeced kernel wasn't prepared to > > receive the MSI interrupts. > > > > Subsequent commits 1851617cd2da ("PCI/MSI: Disable MSI at enumeration even > > if kernel doesn't support MSI") > > This went into 4.2 and hasn't been backported. To backport that to 3.18.y takes 2 other patches to get it "correct". > > and??e80e7edc55ba ("PCI/MSI: Initialize MSI capability for all > > architectures") > > This went into 4.5 and hasn't been backported. Yeah, but that really isn't needed unless 4d9aac397a5d ("powerpc/PCI: Disable MSI/MSI-X interrupts at PCI probe time in OF case") is also there, along with 1851617cd2da. > So I think 3.18-stable and 4.4-stable will need backports of the later > changes in order for this to work properly. I think I'm just going to revert this as no one is complaining about this issue on 4.4.y and 3.18.y kernels. Thanks for the review. greg k-h