Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp95139rwd; Fri, 19 May 2023 16:04:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ikJgTakT5RFTeyMx17zXwfZ/1d6PeCXSKWPVcipjU36om7QNBS5NsGMkvszV+KXQTFLu4 X-Received: by 2002:a17:90b:198d:b0:253:8eea:cf with SMTP id mv13-20020a17090b198d00b002538eea00cfmr2439256pjb.28.1684537480893; Fri, 19 May 2023 16:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684537480; cv=none; d=google.com; s=arc-20160816; b=r5v3Pb7EMGC3mJvtQfpwcRjHduit/y3Vc8RBTtobrgqZq+wXrt76c1TbSsmLgrgvfo xN+imMnatU7XX3T2GJGNFoNxxYwx/ql5dPwCe7f4WkZkWJT5lMLltUM1Jp1w0Jzcdho6 0D/LbLb+Js5hoLI0p5Pr/ZlvqDsbOLX2dE570uK68vFguRkLFFDEFZhKFwt9NKGsjGm0 h+uMOt+ZdFW4MQU/484Zz5W7A9BW6IB8YUMexv9YV59YLrcAXulzyl4cYsP37RkAaJOq 2v2Y/FVZNR2yqLPiQqnUecU5NDh559L79nSRTd5l7pXG7gd2grkrckn1AFvUERUo1vjT XW4w== 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=6pu+8aRcfgtcNruskc5zAa8xIdJbIwySv6ca1i0RvkQ=; b=bmI8Ehxz0gHLAnKyyKxGAgzLaD7fhocHntgnVZULtsQ4zALNgg1V7HS6gduWoBfYXq tkuku6ma5KDyBb0yQU1v1OLW7ExHLtnh5RuDRHuGxfZ/Hk+95SwVJvQiDOxdi49OnyLt xbhTeFYsDGvXbPV2B/s8fFToU3JD9dsygWb8ZTorAAZnDakSWU2RZhRNl65Jne1v2LUZ 7Z/bVz3VyzLN71KaeDVBom6lSP+o4R39b/vcFlZkktOsgwLWoIreVRJY+qbvrf5ZA81X pHzbTHQGvniah4pzvpEOeqXY1eNMP8GMFtn8awenEO7+HrqS/WfUeKbl+KoatQigFoIT PIrw== 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 o4-20020a170902d4c400b0019a71e14c19si253601plg.320.2023.05.19.16.04.27; Fri, 19 May 2023 16:04:40 -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 S231542AbjESW6Z (ORCPT + 99 others); Fri, 19 May 2023 18:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbjESW6T (ORCPT ); Fri, 19 May 2023 18:58:19 -0400 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFFA2FD; Fri, 19 May 2023 15:58:11 -0700 (PDT) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-64d247a023aso1663316b3a.2; Fri, 19 May 2023 15:58:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684537091; x=1687129091; 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=6pu+8aRcfgtcNruskc5zAa8xIdJbIwySv6ca1i0RvkQ=; b=drCiu3y/iMjYlVmSI0piIEdRri9l2hE/9sYhRX7bS2obHbr08I2TsEAQ/3XBsAu/7L G3QedVFU2a7JigGHMS8qzalGGP7SCVqfTXv12g50+H4Q+mS0/IHGKRVj4A44243dNIhD I/w/7mmMb7ctufs3N1o2tvhMuBCdaIIT770Lzcly2OjXpqJnYMZUWY9BEAOf02pc9eHu vZ5vC1SNZrXbPMMZRerr0Sx0yIHoK5bv6PRWN+1vJprSBZQxuhZwVkVxQbl5GinYHh48 B0wnzEWGZunM+GGenuqySxJ1kbe7LTqi8PCOwb0t0BJwKzVZ1jSL+v2ZR6xLl1pS2pze q3kA== X-Gm-Message-State: AC+VfDzUSAOFRdMGL3ErMEd079mUcR+2Tj1/kJHQ92ftAo4xzT4eElK1 HBfELwvXHuJdTFB0to2wahs= X-Received: by 2002:a05:6a00:2d90:b0:64d:2487:5b3c with SMTP id fb16-20020a056a002d9000b0064d24875b3cmr4774925pfb.29.1684537090998; Fri, 19 May 2023 15:58:10 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:102a:f960:4ec2:663d? ([2620:15c:211:201:102a:f960:4ec2:663d]) by smtp.gmail.com with ESMTPSA id x23-20020aa793b7000000b0064d32771fafsm189173pff.97.2023.05.19.15.58.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 May 2023 15:58:10 -0700 (PDT) Message-ID: Date: Fri, 19 May 2023 15:58:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5 4/7] ufs: mcq: Add support for clean up mcq resources Content-Language: en-US To: "Bao D. Nguyen" , quic_asutoshd@quicinc.com, quic_cang@quicinc.com, mani@kernel.org, stanley.chu@mediatek.com, adrian.hunter@intel.com, beanhuo@micron.com, avri.altman@wdc.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, Alim Akhtar , "James E.J. Bottomley" , Arthur Simchaev , open list References: <5cf9b73b2de151e941de697b17410f282b35e548.1683872601.git.quic_nguyenb@quicinc.com> From: Bart Van Assche In-Reply-To: <5cf9b73b2de151e941de697b17410f282b35e548.1683872601.git.quic_nguyenb@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 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_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 5/11/23 23:28, Bao D. Nguyen wrote: > Update ufshcd_clear_cmd() to clean up the mcq resources similar > to the function ufshcd_utrl_clear() does for sdb mode. > > Update ufshcd_try_to_abort_task() to support mcq mode so that > this function can be invoked in either mcq or sdb mode. Reviewed-by: Bart Van Assche