Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp891597pxj; Wed, 2 Jun 2021 14:21:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYkjjZqcuEHIPT0/sDCQnUiRhSDYqBjdHFBNm97NViIPgrNE6gzFgN8wp1DvfOSIsQ3M0F X-Received: by 2002:aa7:d648:: with SMTP id v8mr10271440edr.203.1622668879559; Wed, 02 Jun 2021 14:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622668879; cv=none; d=google.com; s=arc-20160816; b=E3K4eJiC9omJz8VkXepKybRbk8dvaa3bNX2Odpzgg6gyuIBjJEgtQSdGy6Vw1dWbhk wYidvzvZMaoIB3fwd5eiLbWZQu3G2l/QG++emExsSfeE2GXJKAMz9kZdrQX4sLaDHjNi sVPW5KjyX9GV7FRBBW/VRhmBFM2awCwUH7sixhUcnx4v92BCD4qzQTga7+XWK633b26P KrsLDVyPIrI5CGwKc7As5h97elq8Ts/o5U38QsjT6IwaKsIqud2UEVVF2w9tmyHasEgR 5qhdZ16WePzD+iX3z180TBGzTYR1h7yf7gKikNU/4fasAIZseOvJwSulIiYbCAxbAeQM 4dgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=+CMCzWdXYW36gvLhqspzCb5O76RlF7D5cgvfnUD5vAs=; b=tQi0oBdDby2vAUxyUFrsV8I4e0agDvzCx2HmHr3rhyRprxfSRZNOpZRqLu+GOROkv1 mAAj+jeWz5WCsUP7GCTiyDIfhBN6TE3JVcSodgOmHOFF0Gv0RRihTyGVFS9/icd75LFx qVBfhXgilOHJaJELZHC2dzEsxNPAuVfj5ChN+tgDDaqzfCN4N5jXX1t2Ab2ckzR+x899 8NIfAvBVHxd1UrY1+wCqxDwm3zGwU7zD0FhmPxpt6NIsMVAEGkLscJCLYBtA/A8h7cXa N5iF6eTes/0+UrrDV53s5TE9kG8GzHJXlQ5SO/bDxZhtyeJGsugc05GuJ29sqwQh50/h Pj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=WytgUox4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si726440ejo.319.2021.06.02.14.20.55; Wed, 02 Jun 2021 14:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=WytgUox4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229724AbhFBVU0 (ORCPT + 99 others); Wed, 2 Jun 2021 17:20:26 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:39565 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbhFBVUZ (ORCPT ); Wed, 2 Jun 2021 17:20:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1622668722; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=+CMCzWdXYW36gvLhqspzCb5O76RlF7D5cgvfnUD5vAs=; b=WytgUox4Om6I0SVPzRFJ8vmm9cIuN+wchqYBR1LucO8boc+Sq1phmVrpv2bop26OhKHYfABS kvXRPu7AzwDta3zFhnCyt19bmTd29+c5VutGqtSIb/0k3V7XZ95ydIcfI5vrYTFxJ67GSh8G AK45+GHLgj8fTukJkwj08ZVuF7A= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 60b7f5b1e27c0cc77f7e5b70 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 02 Jun 2021 21:18:41 GMT Sender: asutoshd=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 1434AC43146; Wed, 2 Jun 2021 21:18:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.8.168] (cpe-70-95-149-85.san.res.rr.com [70.95.149.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: asutoshd) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1BD5CC433D3; Wed, 2 Jun 2021 21:18:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1BD5CC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=asutoshd@codeaurora.org Subject: Re: [PATCH v1 2/3] scsi: ufs: Optimize host lock on transfer requests send/compl paths To: Avri Altman , Bart Van Assche , Can Guo , "nguyenb@codeaurora.org" , "hongwus@codeaurora.org" , "linux-scsi@vger.kernel.org" , "kernel-team@android.com" Cc: Stanley Chu , Alim Akhtar , "James E.J. Bottomley" , "Martin K. Petersen" , Matthias Brugger , Bean Huo , Jaegeuk Kim , Adrian Hunter , Kiwoong Kim , Satya Tangirala , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" References: <1621845419-14194-1-git-send-email-cang@codeaurora.org> <1621845419-14194-3-git-send-email-cang@codeaurora.org> <41a08b3e-122d-4f1a-abbd-4b5730f880b2@acm.org> From: "Asutosh Das (asd)" Message-ID: Date: Wed, 2 Jun 2021 14:18:37 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/28/2021 12:30 AM, Avri Altman wrote: >>> Hi Bart, >>> No it's not necessary to serialize both the paths. I think this series >>> attempts to remove this serialization to a certain degree, which is >>> what's giving the performance improvement. > Btw, Is this performance improvement is on top of rq_affinity 2 or 1? > It's on 1. > Thanks, > Avri > >>> >>> Even if multiqueue support would be available in the future, I think >>> this change is apt now for the current available specification. >> I agree - this looks like the harbinger of a major change, >> And going further with respect of hw queues, >> will need the spec support - e.g. doorbell per lane, etc. >> >> Thanks, >> Avri >> >>>> Thanks, >>>> >>>> Bart. >>>> >>> >>> >>> Thanks, >>> -asd >>> >>> -- >>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora >>> Forum, >>> Linux Foundation Collaborative Project -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, Linux Foundation Collaborative Project