From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752891AbdK1O0i (ORCPT ); Tue, 28 Nov 2017 09:26:38 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52978 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbdK1O0f (ORCPT ); Tue, 28 Nov 2017 09:26:35 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AA99E68678 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 7/7] PCI: make reset poll time adjustable To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Corbet , Bjorn Helgaas , "Paul E. McKenney" , Andrew Morton , Thomas Gleixner , Ingo Molnar , Christoffer Dall , Mimi Zohar , Marc Zyngier , Ding Tianhong , Michal Hocko , "open list:DOCUMENTATION" , open list References: <1511763628-11856-1-git-send-email-okaya@codeaurora.org> <1511763628-11856-8-git-send-email-okaya@codeaurora.org> <20171128142044.GC11228@bhelgaas-glaptop.roam.corp.google.com> From: Sinan Kaya Message-ID: <837be7ee-13c7-8e8a-1a6b-87fd5e42b166@codeaurora.org> Date: Tue, 28 Nov 2017 09:26:30 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171128142044.GC11228@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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/28/2017 9:20 AM, Bjorn Helgaas wrote: >> Introduce pci=resetpolltime= argument to override 60 seconds poll time in >> units of milliseconds. > I resist adding kernel parameters because they really complicate the > user experience. Obviously you added this for a reason, but I don't > know what that is. If we really need it, is there any way we could > automatically figure out in the kernel when we need different poll > times? > No, we can drop this patch if we want to . This was mostly a scalability concern. I worried adding 60 seconds would be too much for some use case. We can hold onto this change until that use case happens if you want. -- 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.