Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3985039imm; Tue, 29 May 2018 18:51:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIGEA2POTTUo3f+ANGq3Lr2FYYTsVmmCMvakmCtN91ahykr4fr/q2dyQ2tPLNsXlsPNICZr X-Received: by 2002:a65:46cb:: with SMTP id n11-v6mr609318pgr.193.1527645072897; Tue, 29 May 2018 18:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527645072; cv=none; d=google.com; s=arc-20160816; b=keQ7aRjBy7fHozK4wsBTlqWnotdinTlmWCmtPIvkGikEpT9s1waHp4vlJyQFiCx2iW r3ncCcOCgImp4msFZobpi1iugwQkE0P9rZTnmpTHdFWsJFzy8tzQQF1xrqsJID3MkThj Dkcsu0+L0kyWzCuxrB0TjO3IYjhfQ97wE6Bz+hrYnh99qk+qKu7dz+4SPnbJopvQ2BJh QDrlIysCYQwxFxqIV9GUThSQRW8fJJQ7rbU96t9b7isGXYhgnWyfGAYJuILKKCLY2Jh1 VjwBotlfVpaiyBN5iJLJxdztPkBAG/UkoNjxu3KCL/dLPuaG5dY3QlWNB3JOTtFr+RWr 0zGg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=cUmlvvG/uGVv4VgDD/gFA9e0z8CL/YYykZrdoB4cn5s=; b=hacLknm/X5agchRJ9xsh+9EwMUv3WBzJQwB/ob9Zvz6t/ct8IM2qs1/5MUfNVOI3Ml PUcMg5sqHvY8ebZL9TjJexksWiD4R6NKNRC3voWcZAyYoEE8DX+M/grxKSuGP4eEdRf7 naVTou3c2KJdqhPzG2EJfgPc2gRvUSlyafudqcB9YnR4pIeanXZ1i75d5QjrFRehTR76 M2tYWQfr2QUPMU1OCQFCqZplOLKAjMqQkGXlREg1ppOmHIjuF3e1RbBDxPQiD10J6MlM NuXBpVWbx/xD86eDxdpNJKT0wQwWGkBjE/aSSoSWm/hL9Jwz2liNaI4/C7rvmm/7vqsz bMbw== 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 x15-v6si22398606pge.686.2018.05.29.18.50.58; Tue, 29 May 2018 18:51:12 -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 S968608AbeE3BuP (ORCPT + 99 others); Tue, 29 May 2018 21:50:15 -0400 Received: from feh.colobox.com ([209.177.154.210]:59606 "EHLO feh.colobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968432AbeE3BuM (ORCPT ); Tue, 29 May 2018 21:50:12 -0400 Received: from feh.colobox.com (localhost [127.0.0.1]) by feh.colobox.com (Postfix) with ESMTP id 474F76601F8; Wed, 30 May 2018 01:50:12 +0000 (UTC) Received: from [IPv6:2001:470:1f05:22e::5] (linda.snowman.colobox.com [IPv6:2001:470:1f05:22e::5]) by feh.colobox.com (Postfix) with ESMTPSA id C8C6B66018F; Wed, 30 May 2018 01:50:11 +0000 (UTC) Subject: Re: [PATCH V3 2/2] scsi: hpsa: drop shutdown callback To: Sinan Kaya , linux-pci@vger.kernel.org, timur@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org, Don Brace , "James E.J. Bottomley" , "Martin K. Petersen" , "open list:HEWLETT-PACKARD SMART ARRAY RAID DRIVER (hpsa)" , "open list:HEWLETT-PACKARD SMART ARRAY RAID DRIVER (hpsa)" , open list References: <1527542471-10316-1-git-send-email-okaya@codeaurora.org> <1527542471-10316-2-git-send-email-okaya@codeaurora.org> From: Ryan Finnie Message-ID: <51bb7b82-c4a1-435c-7668-639db96d76e1@finnie.org> Date: Tue, 29 May 2018 18:50:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1527542471-10316-2-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/28/2018 02:21 PM, Sinan Kaya wrote: > 'Commit cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during > shutdown")' has been added to kernel to shutdown pending PCIe port > service interrupts during reboot so that a newly started kexec kernel > wouldn't observe pending interrupts. > > pcie_port_device_remove() is disabling the root port and switches by > calling pci_disable_device() after all PCIe service drivers are shutdown. > > This has been found to cause crashes on HP DL360 Gen9 machines during > reboot due to hpsa driver not clearing the bus master bit during the > shutdown procedure by calling pci_disable_device(). > > Drop the shutdown API and do an orderly clean up by using the remove. > > Signed-off-by: Sinan Kaya > Link: https://bugzilla.kernel.org/show_bug.cgi?id=199779 > Fixes: cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during shutdown") > Cc: stable@vger.kernel.org > Reported-by: Ryan Finnie Tested successfully on DL360 Gen9 and DL380 Gen9. Tested-by: Ryan Finnie