Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12426024rwl; Tue, 3 Jan 2023 14:20:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXuYW+PSpK4ZklxmNvfTkIhwjBCB0vBJ7Q5fBEO3lydhW4usZg1nHwXdYX1utLFjv3Y+j0ch X-Received: by 2002:a17:906:5dd2:b0:7d5:29e1:15ea with SMTP id p18-20020a1709065dd200b007d529e115eamr40314953ejv.8.1672784447841; Tue, 03 Jan 2023 14:20:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672784447; cv=none; d=google.com; s=arc-20160816; b=pLt1M2sJicCmRB4bKBdG81HnHRMNhqlne+SZcmXgYp2/T3OTplGcFQsKJcU36z97Os wb9/Qkx1z4lDzbd90Om6tcj8Dr+I30DAd/Uda78xn0tcwSypP9AIkYtwlxEUpwZ4X3+e 5KbYAaxOVUAPuz7l73wvmUNNyx+aSU9NJdo7uj/Dk5nmOy4OB3BvfXS6rLu9OIz46iLl GyBlYvzb0FZ+OPcQTPualSbV9tSHkQaHPDf0LsZDGizbgU17ZoRZf2CXyRNGI4wq3kms UV7MILc5Jvm8kS4fLexJKhQ1Z2ARcdf/fHlURrpGOKQJPvQCsbRci651h4mDPHnNi6hW JrCg== 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=o7Jv5muMEwbo/g8i6mc6MDy/iv+Z0WW/HWuFgl0aO8w=; b=WoiMaznf8Ycu7xYR6PHkYx60xUKQmtYw07VprDLmftVbsfXv0v6GLRnzXFrUd5Pu+7 mq5UjTluP7N83k9gb91HH9T3PBaC+DXMqTFTj1yfedPoGhLBskg+/xKTtifELsnuH5yv CY8I8hf1HrWO0iFw2ZMr6Cbu4MSW2sccXVOVBDuNP9L2VqFmBLJvQYjEuLdEgm8w1i2y W0FTp0tDQcQxUm/UaJJArdVl0LGC9kyeMTBf57DsTPALDTChFfxESBfJyhe5j5nSPvGu feSnJbGNfEJ3MZxR8h4ldVD4cIHIWqQ9DhGT7IfG4WGrCMQcQEsowzDIG2PUdxWZ2to8 UvUQ== 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 o22-20020a170906975600b007c167cdc18esi30139286ejy.747.2023.01.03.14.20.33; Tue, 03 Jan 2023 14:20:47 -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 S233939AbjACVp2 (ORCPT + 60 others); Tue, 3 Jan 2023 16:45:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbjACVpZ (ORCPT ); Tue, 3 Jan 2023 16:45:25 -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 058AAB48E; Tue, 3 Jan 2023 13:45:25 -0800 (PST) Received: by mail-pf1-f169.google.com with SMTP id k137so16746138pfd.8; Tue, 03 Jan 2023 13:45:25 -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=o7Jv5muMEwbo/g8i6mc6MDy/iv+Z0WW/HWuFgl0aO8w=; b=G1XzyG44yM3TE0/eMOvLDsbbP6SZZ4p04Ey1pg7cw2R57XUSUK5rEnu52o6UPSJZZW AkVHcliPL2UvIqUJb2Zmfu4kJoFpFuT3E1RlAQBwQ22qktz6/dbdv7Q1pXyac/dNoFGd dNap7R9+or7e77CvaK83kiuz/jqDpy4ec1NU9Va5I2A1wiE4g/rN4EFQW8iTvXsY0fgW 2nFh70Ggot1h19k6YgItOlWOLz6L4zJtfgKljCJPGC9Ay+a/ma0vpTyzKc27+JH+ZxLc Qvwe2JR+KjS7ueG4c15x7QbeWkYaybD4iVTQpIPhYCQU8r6Sb6h/2fBJeQQWTsg6njRP xwIw== X-Gm-Message-State: AFqh2koxEG0OWFuPchz4PqmYKvl6LXnjhvXl/KHsKkpefUv2/RjTYLHX teTiaJXbT0cc7XWKkP2ZjHM= X-Received: by 2002:aa7:804a:0:b0:576:ebfe:e9c1 with SMTP id y10-20020aa7804a000000b00576ebfee9c1mr44658779pfm.20.1672782324469; Tue, 03 Jan 2023 13:45:24 -0800 (PST) Received: from ?IPV6:2620:15c:211:201:7da8:fef9:8c31:bf89? ([2620:15c:211:201:7da8:fef9:8c31:bf89]) by smtp.gmail.com with ESMTPSA id x15-20020aa7940f000000b00574c54423d3sm12373019pfo.145.2023.01.03.13.45.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 13:45:23 -0800 (PST) Message-ID: <85e91255-1e6f-f428-5376-08416d2107a2@acm.org> Date: Tue, 3 Jan 2023 13:45:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] scsi: ufs: core: fix devfreq deadlocks Content-Language: en-US To: Johan Hovold , "James E.J. Bottomley" , "Martin K. Petersen" Cc: 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> From: Bart Van Assche In-Reply-To: <20221222102121.18682-1-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 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 12/22/22 02:21, Johan Hovold wrote: > + /* Enable Write Booster if we have scaled up else disable it */ > + if (ufshcd_enable_wb_if_scaling_up(hba)) > + ufshcd_wb_toggle(hba, scale_up); Hi Asutosh, This patch is the second complaint about the mechanism that toggles the WriteBooster during clock scaling. Can this mechanism be removed entirely? I think this commit introduced that mechanism: 3d17b9b5ab11 ("scsi: ufs: Add write booster feature support"; v5.8). Thanks, Bart.