Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4914623imw; Tue, 19 Jul 2022 16:10:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s1BXfzyPnqXpAtR1gU6tndaNK959GADqsIMMdaebTYrgOhMt7XBCWcMJmHFghk+LQnNpXD X-Received: by 2002:a17:907:97c7:b0:72f:575:723d with SMTP id js7-20020a17090797c700b0072f0575723dmr20178086ejc.499.1658272212233; Tue, 19 Jul 2022 16:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658272212; cv=none; d=google.com; s=arc-20160816; b=LbRZrqPnjNLT2+oOVXryyEykpCtLfeiGfaGz9a0KHbz5DgjxK9/SEzTbeVwGmc1VtX NGkPg/9KVsZHvV37rmi1BGT7w3yR+q3R1KKcne5IbYK7mn0U11fLUmpEXGrW0xLqoKLz 0rKfyHD0OPO7gSSd1UMmrkoitBTm/u1xV9Wow1MQ3nJZ3MAIGKyvm/qzx0ihc60PsPlJ rZyr8kjl7+fFVMgVS9cmcIKv16HhSUQjlEgMVbjrdripZtUcJyjiV6cxX1hOwdahpJOn t+FzlX3ovxwMSFzfMBQ0AHJJRcVirnH7rk7xsykFb/KYPkgpgxql2zFh0HaxS24htYar V6HQ== 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=6Tw23vDNo/n+pN2EHeNiGsK/YDkkAImg4vz2iP2eaGM=; b=FFeZ/Ng0Le2WJx/xCuwTWlUuoqscbgUxYmIgna4AG8UOPmD/ayo/15JYHW+k5JWiwh xtov31alUOGOlk0bGUFZ9ICPGwv6XymrimkfRO3pVbOdvSi5C39W692KlQQlV64iTxN+ YOC1yKPiTsQ7iYMSYFM+GxlyveyDi+o6x9zK5gG2+snKmMO8t2P2hd8vTkbM6l7swjJ2 4cN3Dtnh1AVNz5t8HJMKakDz3uNv84J+L1mUqJQLqcYqWE6WbSpwTNBQuuBv788nqRr6 Y1VcLqpdCGt06afI9MJB4syqSmo2IZIz8MkW3cxJ82O6fn/Bijlno8BtM+Mj6Ze1O5ja xqQQ== 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 ds18-20020a170907725200b0072b872c4714si22856182ejc.600.2022.07.19.16.09.47; Tue, 19 Jul 2022 16:10:12 -0700 (PDT) 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 S240545AbiGSXHX (ORCPT + 99 others); Tue, 19 Jul 2022 19:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240538AbiGSXHK (ORCPT ); Tue, 19 Jul 2022 19:07:10 -0400 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21E5861D91; Tue, 19 Jul 2022 16:07:09 -0700 (PDT) Received: by mail-pj1-f46.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so435205pjf.2; Tue, 19 Jul 2022 16:07:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=6Tw23vDNo/n+pN2EHeNiGsK/YDkkAImg4vz2iP2eaGM=; b=7VE5lneYyBfeMoHUigqV4hdK3mJUjPsBpaOZ2O09H2v8l0kba0r49OY67nmHPrZKqv 1eMUh09SCIyK6nfXtOJxqjif8Yx1WTkfTaxThYkiGaNLc+a/kkXvUcIgWSVwgiu+4kqh g0AwXl5PA4qvmNzmDF6d4nSzc77L0YWD+YVz9hcwpLyzz3lqSn4FLea7tbQL3ooJdygZ kfUR6ed8mPa6H5wKCg+JwJj4ZropAQvcAL+UvdUuCMX7fUEuFqOj7ALLbOSA1463+GG5 ssRQoZQXjZT3rtPAurc3nVnlXIuxcbgzbWI4bqN4YOwy4RBvThuswMVrOpDgArHd8SD7 guVg== X-Gm-Message-State: AJIora9tg3MI4J/CKJL80fHM+5QJjcAxNJXm1uEE1SrNUg5EWhpt1V5U Uw/LDDKtjtRFBtXYJSKBN20= X-Received: by 2002:a17:902:e848:b0:16c:41d1:19cf with SMTP id t8-20020a170902e84800b0016c41d119cfmr35595037plg.40.1658272028471; Tue, 19 Jul 2022 16:07:08 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:a7e0:78fc:9269:215b? ([2620:15c:211:201:a7e0:78fc:9269:215b]) by smtp.gmail.com with ESMTPSA id t126-20020a628184000000b0050dc7628148sm12100127pfd.34.2022.07.19.16.07.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Jul 2022 16:07:07 -0700 (PDT) Message-ID: <574ad23b-45c9-1bc3-0a86-c7cb73ea07bf@acm.org> Date: Tue, 19 Jul 2022 16:07:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/2] scsi: ufs: Add Multi-Circular Queue support Content-Language: en-US To: Can Guo , stanley.chu@mediatek.com, adrian.hunter@intel.com, alim.akhtar@samsung.com, avri.altman@wdc.com, beanhuo@micron.com, quic_asutoshd@quicinc.com, quic_nguyenb@quicinc.com, quic_ziqichen@quicinc.com, linux-scsi@vger.kernel.org, kernel-team@android.com Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Daejun Park , Jinyoung Choi , Kiwoong Kim , open list References: <1658214120-22772-1-git-send-email-quic_cang@quicinc.com> <1658214120-22772-2-git-send-email-quic_cang@quicinc.com> From: Bart Van Assche In-Reply-To: <1658214120-22772-2-git-send-email-quic_cang@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 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=no 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 7/19/22 00:01, Can Guo wrote: > Adds MCQ support to UFS driver. The description of this patch is too short. It should be explained how the UFSHCI queues are made visible to the block layer. It should also be explained which roles are assigned to queues and how (HCTX_TYPE_*). How the MAXQ configuration register is handled should also be explained. The host lock is obtained in multiple UFSHCI 3.0 code paths. Information about the role of the host lock in MCQ code should be provided. Thanks, Bart.