Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5898524pxj; Wed, 23 Jun 2021 11:19:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwHHNNkhP5PYmEiTIueGvDUqGYfSgVXeSPcPL0HIrt9+575GlliYhkQpKkKvAZXpeC9TtN X-Received: by 2002:a17:907:628a:: with SMTP id nd10mr1414088ejc.326.1624472348969; Wed, 23 Jun 2021 11:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624472348; cv=none; d=google.com; s=arc-20160816; b=qMQBQ0uoc4JSX2BAG0Ob4Vno5K9HtDOBS63trlonzvQj/bNE4NxiH12ga9qN697mII 4cjX9zPf2OOKbO3FHWGEGjtDVRCW23Wt0HwfzyiGmxrGo3xaG43KsjJMMs1dFGzzd4+X CjnOwYjRQzOEbB746JdrEMOng4ZOa1BBArWU3LqvKNbkSap6cVJ5iI1GfhE9z9dgIK1U cH0LuHgbnHIsXsgc+5j/LUoEEDFqP26WNSmQiOb/7YIeC3+Z5Czj2aNujCkWtGGJv+qa Yyv0Ygvbj1MFvER1hHbJdvBtYGPq3zsGS1jWSkPRTStjRsGWadUPhOz1Kbh3qdQV06YP 6y7w== 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; bh=Z+AOrquLkDeOpFoqZtvHK/EtjzG0F5WeDTVQkdzlRoY=; b=nUahGLy67fldFZf1xR4ztFCVY8UOSYz72Fzua8JcxLWKuhb2vf5FAbvUqhVSW9zb4e r2/UdpP+CRILIUdh5vWYJjRaQewkwBFDXf867u0DKda6RjGhsILwZsEdf9XhrDS19wAp Sidcvjk0toLat4Ig+LL3RIITyJBONS/0bT2ItZS016JphCWYNMW6VUJA7FETVgstz/pI DP7dOFh8Usns/oPsY8+W7b+S/Gw3hitpeQdhC1JWdClKA3sEqQbqTse3+d+mwe5is9PR vZ8IsdwZCCV6qx30u09fCNsNTVQWzGSPKritTHblpg+uJLHuM3/G7JAXWRNjSuZeSA51 QViA== ARC-Authentication-Results: i=1; mx.google.com; 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 c17si354184ejc.223.2021.06.23.11.18.44; Wed, 23 Jun 2021 11:19:08 -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; 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 S229913AbhFWST1 (ORCPT + 99 others); Wed, 23 Jun 2021 14:19:27 -0400 Received: from mail-pg1-f177.google.com ([209.85.215.177]:41611 "EHLO mail-pg1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbhFWST0 (ORCPT ); Wed, 23 Jun 2021 14:19:26 -0400 Received: by mail-pg1-f177.google.com with SMTP id u190so2457720pgd.8; Wed, 23 Jun 2021 11:17:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Z+AOrquLkDeOpFoqZtvHK/EtjzG0F5WeDTVQkdzlRoY=; b=jTvcUMVRjUxCPRvtOFMEyws3Kf0Er2Ubz+XirRjw9CSLyRvIrpv+bvmGYyDXjPLqMN FcNaGgp86hlMuAIXP1BdMuL0nl7TF3WBOlFJyNbk144Vt/AnoPBMyIVXR4JKpPEEKr8/ tAXrxEfHoRt4TwY1gdyA5zr+9R0hhY2QSBp98IAgkmZgevpTSzJ/HJO6YPtLSSFxJxXj 7iFzzac8qd3jDAB1+GQ5q0BYTMWniiK0hicJMex7IZUEx1CK/WnxFnBHu+wL49cuQhE7 1zwWfVV5BYwCCLo0qgjqsIqqH4wpOZ1YFin1zgPS/85L+bkyDPXoKtaJRpMf+cUUoGod s4hg== X-Gm-Message-State: AOAM531CzNc9mt3xm/rCD88Dq+NczHoZRJk9H1S7M0v1dCkrpKkxl37w 2Jcz7HEWMS3fj+1wwR0iFAA= X-Received: by 2002:a63:1b52:: with SMTP id b18mr697598pgm.179.1624472228421; Wed, 23 Jun 2021 11:17:08 -0700 (PDT) Received: from [192.168.3.217] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id h9sm501149pgn.57.2021.06.23.11.17.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 11:17:07 -0700 (PDT) Subject: Re: [PATCH v38 3/4] scsi: ufs: Prepare HPB read for cached sub-region To: daejun7.park@samsung.com, Greg KH , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "huobean@gmail.com" , ALIM AKHTAR Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , JinHwan Park , Javier Gonzalez , Sung-Jun Park , Jinyoung CHOI , Dukhyun Kwon , Keoseong Park , Jaemyung Lee , Jieon Seol References: <20210616070700epcms2p734db9b60e13229696fb3cda5f69e210f@epcms2p7> <20210616070913epcms2p83805028905f46225a65cc71678cddde7@epcms2p8> From: Bart Van Assche Message-ID: <468d63c0-f902-efc2-17d7-5f4321806ca6@acm.org> Date: Wed, 23 Jun 2021 11:17:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210616070913epcms2p83805028905f46225a65cc71678cddde7@epcms2p8> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/16/21 12:09 AM, Daejun Park wrote: > + if (blk_rq_is_scsi(cmd->request) || > + (!ufshpb_is_write_or_discard(cmd) && > + !ufshpb_is_read_cmd(cmd))) > + return; If this patch series is reposted, please fix the indentation of "!ufshpb_is_read_cmd(cmd)". Thanks, Bart.