From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFC41CE7A81 for ; Fri, 22 Sep 2023 20:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232548AbjIVUF6 (ORCPT ); Fri, 22 Sep 2023 16:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbjIVUF4 (ORCPT ); Fri, 22 Sep 2023 16:05:56 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443BB19D; Fri, 22 Sep 2023 13:05:48 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A31BFC433C7; Fri, 22 Sep 2023 20:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695413147; bh=enJ0a4l3BE0ZdLon+dFG8Kc9jkMHxADxQvNfxaqNXMw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kiXM0287PPQdGa5bf0h4KRkI3Lkad5vpLAI17WtUPjhwPwb14rW+qiyUSHHQPPwhs qSbatTXAbEpqSgl5MKmO00NTvE8TGgrMXAFuLTnZnPLF0Yrz1d+J4NWeIfPUanzO5e T5iWhVMpxBSj7pKeuCuHI7w79EdripfbxhTBIRP6f7IicL766JUMaTgGd12uBy+EtO lT54AiQM/yImBjxzuTASYLD8VptwnRZhauIdxnl8mWt5NifTHRzAhe/lmGHvtRx5A7 z110J/Ak1gHj8zWPa3KtJdlEzRzFzlfYbfRRe5qnkJogfxMWqiQeRsu1RQhfEzFMDp 7bJB7APq8QNuw== Message-ID: <55ab5197-51ba-87bf-e24d-44ebc45f13d7@kernel.org> Date: Fri, 22 Sep 2023 13:05:46 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC] ata: libata: increase PMP SRST timeout to 10s Content-Language: en-US To: Matthias Schiffer Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <6309e45e-b1f7-0167-ff54-f1a86437a910@kernel.org> <1ed7c4dc-f026-4ac5-2011-afcdb1e962b0@kernel.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/09/22 12:41, Matthias Schiffer wrote: >>> Even with the latest series applied, I still need my >>> ATA_TMOUT_PMP_SRST_WAIT change to avoid the "softreset failed (1st FIS >>> failed)" message (and get "softreset failed (device not ready)" instead). >> >> OK. Thank you for testing. >> For increasing the timeout, please send a proper patch. I will queue it. >> >> > > Will do. Do you see any downsides to the increased timeout? Otherwise, I'd > simply add a Fixes: tag for the last time the timeout was touched in > e7d3ef13d52a126438f687a1a32da65ff926ed57. No, I do not see any downside. Most drives do not need such long timeout for replying to a reset, so it should not be an issue. Increasing to 10s should be OK. But please be sure to mention in the commit message the adapter and drive you have that need this, so that we keep a trace of it. -- Damien Le Moal Western Digital Research