Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3532152pxb; Mon, 4 Apr 2022 20:10:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGX6ySJ0poDqp7ciRCUGGMBW9sWAWhTSfBm/ArAVou3D1Z4HYFJOUok2CRgPI9Vj3cZUW4 X-Received: by 2002:a63:cf09:0:b0:372:d564:8024 with SMTP id j9-20020a63cf09000000b00372d5648024mr1082705pgg.251.1649128204955; Mon, 04 Apr 2022 20:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649128204; cv=none; d=google.com; s=arc-20160816; b=KjqIWuNRIqgpAiZJc6saGgJRp5n9LcpLhtbDeZ/ANhhxKjpQXKBq+Y7e+9+gCJp8Nx FypcppIT5wCBRFOtAF+ItA4QDDWk25/GOXkoMt8Tlys+VX5ixllDhFi73amucUFWXkoo nIE+nPkj8Ihq6yC0ZAyesrQLS6d6aX4rxHa4yfKeAPtGh7T/wknxkCysjLbxr7wynBLd gGYvRVfv9GlJaQ+nk5WUXcGmq8tHZqPqwWpnvFvutJtoN1IGjTxoUD/8YnXFAegqgEAt 2wkTkaBX106w/ZQxKbtAzdsJOruBdkdtgisDrSiSi+L0fEPOBNCiBBqf73ZxdBhR4ib8 xP/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=xmz2NnSTGJp8duqzQjq5oYa3baObKwdzt9r/QHkzi30=; b=HBUngYdplIWTELTzdhinzsLAqVpDxKkQf0gCKRiu3RQVnhrE3VNuGXJe5HuQfJd43Q YXW6ZhlsMrBRnZQ7GRu2aaEZlvPPAFSCMEVg7/AfYpMpoj5heHdeRLQeYpr0TulSLOuR yJ358LlRXMpWpdF3xC3axfO5o2sw6Fima37IviU5zpHBthm3FoyYnmmDBXRrq+L9YwnM R0cHFERXBk+losLnf5KTE0yAqiiYG1gg3dwVY/MW7WkAu0vF52BWnZslznnIetymFKcN 6qhzxxtIQHD0s5r69jc1EqknKB8lMbP4tAKeAWyaPUZJRw18zus+Z4NrIsTc7JXYbS9I uNNA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 13-20020a630a0d000000b003816043eec7si4686017pgk.188.2022.04.04.20.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:10:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 941743DC36C; Mon, 4 Apr 2022 18:10:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245080AbiDAFUk (ORCPT + 99 others); Fri, 1 Apr 2022 01:20:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237334AbiDAFUg (ORCPT ); Fri, 1 Apr 2022 01:20:36 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21A64B85F; Thu, 31 Mar 2022 22:18:46 -0700 (PDT) Received: from [192.168.0.4] (ip5f5aef67.dynamic.kabel-deutschland.de [95.90.239.103]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 2A7EF61EA192A; Fri, 1 Apr 2022 07:18:44 +0200 (CEST) Message-ID: <67950993-2eb9-c180-7c80-98c9954c9b22@molgen.mpg.de> Date: Fri, 1 Apr 2022 07:18:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 3/3] ata: ahci: Skip 200 ms debounce delay for AMD 300 Series Chipset SATA Controller Content-Language: en-US To: Damien Le Moal Cc: Mario Limonciello , Hans de Goede , linux-ide@vger.kernel.org, LKML , Nehal-bakulchandra Shah References: <20220321212431.13717-1-pmenzel@molgen.mpg.de> <20220321212431.13717-3-pmenzel@molgen.mpg.de> <5fb6af7b-d84f-cbae-7eb1-543f3a7e53e4@molgen.mpg.de> <22f69d9a-7d0d-a408-70b3-11295f14b82d@opensource.wdc.com> From: Paul Menzel In-Reply-To: <22f69d9a-7d0d-a408-70b3-11295f14b82d@opensource.wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Damien, Thank you for your reply. Am 01.04.22 um 01:04 schrieb Damien Le Moal: > On 3/31/22 23:42, Paul Menzel wrote: >> Am 23.03.22 um 09:36 schrieb Paul Menzel: >> >>> Am 23.03.22 um 09:24 schrieb Damien Le Moal: >>>> On 3/23/22 15:55, Paul Menzel wrote: >>> >>>>> Am 23.03.22 um 06:01 schrieb Damien Le Moal: >>>>>> On 3/22/22 06:51, Limonciello, Mario wrote: >>> >>>>>>>> -----Original Message----- >>>>>>>> From: Paul Menzel >>>>>>>> Sent: Monday, March 21, 2022 16:25 >>>>> >>>>> […] >>>>> >>>>>>> I seem to recall that we were talking about trying to drop the >>>>>>> debounce delay for everything, weren't we? >>>>>>> >>>>>>> So perhaps it would be right to add a 4th patch in the series to do >>>>>>> just that. Then If this turns out to be problematic for >>>>>>> anything other than the controllers in the series that you >>>>>>> identified as not problematic then that 4th patch can >>>>>>> potentially be reverted alone? >>>>>> >>>>>> Not quite everything :) But you are right, let's try to switch the >>>>>> default to no delay. I will be posting patches today for that. >>>>>> With these patches, your patches are not necessary anymore as the AMD >>>>>> chipset falls under the default no-delay. >>>>> >>>>> I am all for improving the situation for all devices, but I am unable to >>>>> judge the regression potential of changing this, as it affects a lot of >>>>> devices. I guess it’d would go through the next tree, and hopefully the >>>>> company QA teams can give it a good spin. I hoped that my patches, as I >>>>> have tested them, and AMD will hopefully too, could go into the current >>>>> merge window. >>>> >>>> Yes, correct, the plan is to get the generic series queued as soon >>>> as rc1 so that it can spend plenty of time in linux-next for people >>>> to test. That will hopefully reduce the risk of breaking things in >>>> the field. Same for the default LPM change. >>> >>> But 5.18 or 5.19? If 5.18, sounds good to me, if 5.19, I’d be great if >>> my patches go into 5.18 cycle, as they have been tested, and it would >>> mean the whole change gets tested more widely already. >>> >>>> With the default removal of the debounce delay, your patches addressing >>>> only the AMD adapter are not needed anymore: this adapter will not have a >>>> debounce delay unless the ATA_LFLAG_DEBOUNCE_DELAY flag is set. >>> >>> Yes, I understand. >> >> The merge window for Linux 5.18 is going to close in three days this >> Sunday. It’d be really great if my patches, tested on hardware, could go >> into that. >> >>>>>> It would be nice if you can test though. >>>>> >>>>> Of course, I am going to that either way. >>>> >>>> Series posted with you on CC. Please test ! >>> >>> Thank you. I am going to test it in the coming days, and report back. >>> >>> Maybe more people should be put in Cc (Dell, Lenovo, IBM, x86 subsystem) >>> with a request to test this? >> Thank you for the patches, which are a big improvement. Let’s hope, you >> can re-roll them, so they get into Linux very soon for everyone’s benefit. > > I am waiting for 5.18-rc1 to rebase the patches and re-post them. Given > reviewed-by and tested-by tags, I will queue them for 5.19. As discussed in the other thread, it’s impossible to be 100 % certain, it won’t break anything. > With that in mind, I am not planning to apply your previous patches > for 5.18, as they would conflict and would only end up being churn > since the delay removal by default will undo your changes. Obviously, I do not agree, as this would give the a little bit more testing already, if changing the default is a good idea. Also, if the conflict will be hard to resolve, I happily do it (the patches could even be reverted on top – git commits are cheap and easy to handle). Anyway, I wrote my piece, but you are the maintainer, so it’s your call and I stop bothering you. Kind regards, Paul