Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4014893imm; Tue, 29 May 2018 19:44:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLMzZg0v1pWlSs4uOyiD59QfSQ+oJl19o3J1XNlUoI0xet5RNbyEWOVt00yKssqQ0GGa5NZ X-Received: by 2002:a63:b54b:: with SMTP id u11-v6mr718450pgo.365.1527648240196; Tue, 29 May 2018 19:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527648240; cv=none; d=google.com; s=arc-20160816; b=t0YCSz1p2+yhkYWw4QSXsLRO1fkTWt5oTeRkCCrVqXlUeihKmBD9kjEGOblGxZeLwB la1LybKpMKUW9pSb7ua9MbVvgrG6hpqiKQ/ax6sbn5k93VH+CU0xG2P3a/cpq9jVKyEk /U44VV7y6jeJQRvk1+bo3Kf6tFsaymxWN5r/ATFoeAAL4bwyO2f+uhBtj7yhyg5tqkOn EFHCkeOiGbANXQ1JCOa6uT1WNhB3NEQrJxEdkMKwb6r5GC+rZfg2TX6WUzBEqTWo0cr0 ojPfkpoCOCyjneYfgumNlpBjaNUhJgB4wP5DM7Cd/8DYBJ/cSAQZWkUiGdcrlk6lY6jL d4Sg== 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:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=Aieb4y5vniuPtxD8u5hpd656Z1C6onwoUYWUJmMgxc0=; b=C2Pn9awDer1u84hFgunxFtg4g4JoYFH26Zj/Q1VuMOVjJYpLYLKm2eg9bwOxYSbDwz Jm/qdZHnt7YiYBp64fpPpRYjwqXabdqyfB7WuXOmWrICAkx8WbN6oQefMJaiH/B22IyF ermUkAWQy9LZXsdTOkdFPVPL0pQfc8RtVN0Vk8nfMeknuC9fyutiXG966f7I9T5wg/7N mz1RMQvIQPTXyjN+5hGB6cQHzRKK7CAKMgz3Ao4sPL3W5CocKNax5T+B+XxhTDSCcFl7 unHTVY5jbcWzJ3h1ZpHYpjfoDi5Jz73axCRfSH2iFbYds3G7wY2CUO4EzbCYRPcVFe+D 0a0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=d4FNxq5M; dkim=pass header.i=@codeaurora.org header.s=default header.b=WRJ9j+ic; 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 j6-v6si33719369pfb.25.2018.05.29.19.43.15; Tue, 29 May 2018 19:44:00 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=d4FNxq5M; dkim=pass header.i=@codeaurora.org header.s=default header.b=WRJ9j+ic; 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 S935458AbeE3Clw (ORCPT + 99 others); Tue, 29 May 2018 22:41:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45014 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750821AbeE3Cls (ORCPT ); Tue, 29 May 2018 22:41:48 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 782906063F; Wed, 30 May 2018 02:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527648107; bh=TuYNTr5jAxl+GYnRXoHGUhJ6SFWhjdaq7VXIMeG8QHg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=d4FNxq5MEkfjPJmccbDbs9TH0b2rB7iBQ/8b+RM9UV0BwxeUxeCGnXAq+IKFGz33Q 6kA8PjdoPeiqQotomllrqU5ArJ/VCofg7UCUmPv9stj1h2icClKUc/Kq2eN8zT2DBK EbLU2QBlFzmf0hE1EnYkM3stXcuZfELs2TL4gCzE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.47.50.40] (unknown [156.39.10.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 075B960242; Wed, 30 May 2018 02:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527648106; bh=TuYNTr5jAxl+GYnRXoHGUhJ6SFWhjdaq7VXIMeG8QHg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WRJ9j+icJJxAy22sQXc/EEByFk2+Fdepo1ERFGbFRhpsZsSKe4Lch7Cd6SKlf42SE GNodcefXKdAH6pkMgWvBxIoQDDu3T4NbtQPfIPJ8iy65CFtN8UzVvGzrTdGz2vYbTc HufeAQezcHbuOb6GcvUC1alXC6F7h43I2aGwHmAQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 075B960242 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH V2] PCI/portdrv: do not disable device on reboot/shutdown To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, ryan@finnie.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org, Bjorn Helgaas , "Rafael J. Wysocki" , Greg Kroah-Hartman , Thomas Gleixner , Kate Stewart , Frederick Lawler , Dongdong Liu , Mika Westerberg , open list , Don Brace , esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org References: <1527043490-17268-1-git-send-email-okaya@codeaurora.org> <20180523213249.GD150632@bhelgaas-glaptop.roam.corp.google.com> <61f70fd6-52fd-da07-ce73-303f95132131@codeaurora.org> <20180524183502.GB85822@bhelgaas-glaptop.roam.corp.google.com> <984b9734-244d-04e9-946f-7524f148ff7c@codeaurora.org> <20180525221024.GC92995@bhelgaas-glaptop.roam.corp.google.com> From: Sinan Kaya Message-ID: <8eacc568-af8c-a990-ee96-d13e669e8643@codeaurora.org> Date: Tue, 29 May 2018 19:41:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180525221024.GC92995@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bjorn, On 5/25/2018 3:10 PM, Bjorn Helgaas wrote: > On Fri, May 25, 2018 at 09:30:59AM -0400, Sinan Kaya wrote: >> On 5/24/2018 2:35 PM, Bjorn Helgaas wrote: >>> That sounds like a reasonable idea, and it is definitely another can >>> of worms. I looked briefly at some of the .shutdown() cases: >> >> should we throw it into 4.18 and see what happens? > > It wouldn't solve this particular problem because hpsa *does* have a > .shutdown() method. The problem is that it doesn't work -- it's > supposed to stop DMA and interrupts but it apparently doesn't. > > I think we need to fix hpsa first. > I don't know if you followed my latest V3 patch but I found a way to put these two together to reach to an, IMO, more acceptable solution. Sinan -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.