Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp26664rwl; Wed, 4 Jan 2023 14:35:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXutmo87ZuUDSYNbROPBw86pS8DDWr0rHv2Db8AKRtm0wMzBOBvDjgL6LgTJ9mnSvTze0ozt X-Received: by 2002:a05:6402:176e:b0:48b:4f30:b083 with SMTP id da14-20020a056402176e00b0048b4f30b083mr13526622edb.40.1672871744121; Wed, 04 Jan 2023 14:35:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672871744; cv=none; d=google.com; s=arc-20160816; b=STJmSv65S3Ocz5SlGaGCux+5nsR+qC3kkvGYrO+7+YdIAH6DMsKAUXKrd6WF5IcIh9 aILKOiMhSTFtC7dbprCHdo1Q5qtgScPIoAff+UbLDI+8ZPpfCahNslEAvkdC/Vwg2fGI yM4irod7vDsV3g5BqzUhX2KuZ0QJ7cGbgbN5+Cy44BBq6Nhp5qVoV8sKcvr6oY0mANnH J7NGImflt0uwb6urKyoomCVto9esnsJUMPp7CmwzCgj5I/Adgl7cmycNVUM7BXvFB7md TcCPMPk9QiUc7ocNvzPFJXaQTsnoy1PliXN/QN9bEo8OiDPBZg9gxbtqNy08CGMWv4XD Ugzw== 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=rE/XSL3eCp2mV2wORWtmG2PyI2xCMLuVm583jQV+GOw=; b=R//nqgL6M2ntT0foC+Xl9NUnGKBBJ/FDQVGCeZCynXZTILYao6ZW02XbbgM57XDyDz KD2zeiGl/yYGpfRO3GD1T1P1agiUIcSuLyG5WhZZlVmp++YBhY1CbtqO0vf1E/wdIogy 0UHUM3LwvKh9TuvtMv39K7tLBrKfwFQurE3oO9TWwJJivMf4+UGEnY21B0eqdxLwZQhl FRgeIibtczxK0XUQgKwTr66ufnwcXTNA8U2ubb/MNxFq37oGloXqw5QMwxZDJL0K+ibo pe5zGrBw17ZCLx2bqCtgMRa6iqc7kRaZ1ARXS9diunn1IKJLgyM5UGqjozjAxXbJZviY xAUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a056402280700b0046b7410c015si37260265ede.18.2023.01.04.14.35.30; Wed, 04 Jan 2023 14:35:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240382AbjADWbm (ORCPT + 56 others); Wed, 4 Jan 2023 17:31:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240297AbjADWbh (ORCPT ); Wed, 4 Jan 2023 17:31:37 -0500 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE4ECC778; Wed, 4 Jan 2023 14:31:35 -0800 (PST) Received: by mail-pf1-f169.google.com with SMTP id a184so13173075pfa.9; Wed, 04 Jan 2023 14:31:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rE/XSL3eCp2mV2wORWtmG2PyI2xCMLuVm583jQV+GOw=; b=vm0irkdtNVTpJOWpYL1nMVsUuTflR/PEGO+nnFeKEhjOOOPrIwNQcjPlYbO3UZI9nz Pju1unUOgFy2CVTHBbLO4V1zG+y318PhQTV2ioJogGpoYZsK6HIUgWRrECGZnpcLkqTQ xKVcKskX+GwPE/v0NsNUdVEEGOFtGLWZL13ZKRDmopA3S94WWghF7L2id+2jUUU5fEnu jm4xIkx6fqygFKtPOXtufmxammFp6fnzxGGFXDRCoRX8KLyLJ6It19YJyM/pSg9Mfxw3 Kbzi6lA8PUCD7IfrsCY/WQ1flU+OWhrakHp/vixyQY0uIXzJvq5byTEXK3n9OEUcAHVc DC0A== X-Gm-Message-State: AFqh2ko5tl+NW0A5eeT4PC8/yb9ybhYdPLYv3OAzUKZir2AhfvMug+kz kkCPz2Sq+ZA9Y+69+2p2xu8= X-Received: by 2002:aa7:8b1a:0:b0:582:26bc:a75b with SMTP id f26-20020aa78b1a000000b0058226bca75bmr15743628pfd.9.1672871494911; Wed, 04 Jan 2023 14:31:34 -0800 (PST) Received: from [192.168.51.14] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id f3-20020aa79d83000000b0058193135f6bsm13978144pfq.84.2023.01.04.14.31.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 14:31:33 -0800 (PST) Message-ID: <3db8c140-2e4e-0d75-4d81-b2c1f22f68d1@acm.org> Date: Wed, 4 Jan 2023 14:31:31 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH] scsi: ufs: core: fix devfreq deadlocks Content-Language: en-US To: Asutosh Das Cc: Johan Hovold , "James E.J. Bottomley" , "Martin K. Petersen" , Alim Akhtar , Avri Altman , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Can Guo References: <20221222102121.18682-1-johan+linaro@kernel.org> <85e91255-1e6f-f428-5376-08416d2107a2@acm.org> <20230104141045.GB8114@asutoshd-linux1.qualcomm.com> From: Bart Van Assche In-Reply-To: <20230104141045.GB8114@asutoshd-linux1.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 1/4/23 06:10, Asutosh Das wrote: > Load based toggling of WB seemed fine to me then. > I haven't thought about another method to toggle WriteBooster yet. > Let me see if I can come up with something. > IMT if you have a mechanism in mind, please let me know. Hi Asutosh, Which UFS devices need this mechanism? All UFS devices I'm familiar with can achieve wire speed for large write requests without enabling the WriteBooster. Thanks, Bart.