Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp251296pxb; Fri, 29 Oct 2021 09:11:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQC4bZFGbhq2i4Q1GZ6RmEr6oJiXygjKDb7Ji4GZNkirzRY8TklpqJGA1d+XQVVJrfMate X-Received: by 2002:a05:6602:26c8:: with SMTP id g8mr8693420ioo.74.1635523899938; Fri, 29 Oct 2021 09:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635523899; cv=none; d=google.com; s=arc-20160816; b=TV3OHxsB+HU/2xNf5R5pH8g+uu8vScQqFOBa0eUhLkabYdNJPoizyIBCh1fdSPPgOC 3xGa+TFNXkvxok6JSwPTw47agS5gX6Dpag/uxrDyLtUcz/t6gYqO3k9dgxGJB9i6FV1O GN/8qUuAJxf34cNfrJU0AiZG4eoRds2bE9QYr4v05MH/zLucuFDGRPd0THf2HAxu2Yvv HaUBP9wIbRryADT127RUVx6tk0yTHSRHWJPQjbOtQG+++FTL4NYH+VGbrHw0atjrbnOw u7OKjolkgpJw21XsT2jzXklRSodcf6feQ5RMGLwZ2gYq0kQsLukPGUrD8P0g1D2C2ziJ 0M0A== 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=LXFgbbSzEnPAENQgnYsk5t+E8VlLtZz8rFu/S8Y8Msw=; b=vXQknLd1ut/W510840OuDF/O6gZ2daudow1MpAMqXZG6YGEFkg6IC+x77a098nAEMq VUIccr5X6reCC6UxViZFXI+MB3x/izbA7+yChesRjxdqX3rbtkw68yEU7yMKHUcurPfy 1n/pb9gyqC74LMfOwbqrn2wFNBTmaEbOLiWCmLaJijO1lIa3DYkookAxCTHcLWeluSeT 1RpiilxcF0GXAuZDgVTeks4qQB/dkjtOrz3fkm35H2bXpdGJOjT+dR5ihVLOU9YNC4q5 cltA8bWgNQr2ua3I1jS7fejORRfQ3ZZs863TKNg9moEA308nEYZ7tC8FqPd+SdKOPsgW JceQ== 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 p13si9517317ilo.42.2021.10.29.09.11.16; Fri, 29 Oct 2021 09:11:39 -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 S229782AbhJ2QMl (ORCPT + 99 others); Fri, 29 Oct 2021 12:12:41 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:42778 "EHLO mail-pj1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbhJ2QMk (ORCPT ); Fri, 29 Oct 2021 12:12:40 -0400 Received: by mail-pj1-f41.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso7715627pjb.1; Fri, 29 Oct 2021 09:10:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=LXFgbbSzEnPAENQgnYsk5t+E8VlLtZz8rFu/S8Y8Msw=; b=xCnpSM/JKY2sZcPSU/KMP5cueWZ8IoDz5LKhFTuJYJlWd4K1+2iAa5O5ELDUfPR6KK BhQyAoym5Sh85riTXy3v90YZpadrnnR+6bPtoRcP6/tEjklmEdSZGTRjknSE1+YsiZj7 MuvOZTd6HV822KGlyeIulpS2EzP1jabX8TwqcQKmfZ5Inh6msGWCInk9F18Zp6Cr34+T 0OIy4+43yNfw2+L4h742x+T1Nij4XBwzUMZvFqTKeLiTozPCrEcyA3HagszuXKhrCLJ0 2TI9QqW/5k7Q1vaoTXDKfolaCtbf79jtlSI4nd6tpW8BZCYgimc+8sSeqvvJ9vrJ+gU8 Z6nA== X-Gm-Message-State: AOAM532PDC9f+AyzRXu8nHJgg3GxhY4Q8jqmU7zhVBDg8MkXyORxWV+U 6Cecc2/kfzrYyR4FAWfJd1s= X-Received: by 2002:a17:90b:1010:: with SMTP id gm16mr20398839pjb.190.1635523811491; Fri, 29 Oct 2021 09:10:11 -0700 (PDT) Received: from bvanassche-linux.mtv.corp.google.com ([2620:15c:211:201:7346:8d3b:12d0:7278]) by smtp.gmail.com with ESMTPSA id rj6sm11542165pjb.30.2021.10.29.09.10.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Oct 2021 09:10:10 -0700 (PDT) Subject: Re: [PATCH] scsi: ufshpb: Opt out pre-reqs from HPB2.0 flows To: Avri Altman , "James E . J . Bottomley" , "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Bean Huo , Daejun Park , James Bottomley References: <20211029155754.3287-1-avri.altman@wdc.com> From: Bart Van Assche Message-ID: <52dbffa7-6549-1f1d-cc2d-9022e65b59a9@acm.org> Date: Fri, 29 Oct 2021 09:10:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211029155754.3287-1-avri.altman@wdc.com> 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 10/29/21 8:57 AM, Avri Altman wrote: > HPB allows its read commands to carry the physical addresses along with > the LBAs, thus allowing less internal L2P-table switches in the device. > HPB1.0 allowed a single LBA, while HPB2.0 increases this capacity up to > 255 blocks. > > Carrying more than a single record, the read operation is no longer > purly of type "read" per-se, but some sort of a "hybrid" command - ^^^^^ purely? > writing the physical address to the device and reading the required > payload. > > The HPB JEDEC spec came-up with a dual-command for that operation: > HPB-WRITE-BUFFER (0x2) to write the physical addresses to device, and > HPB-READ to read the payload. > > Alas, the current HPB driver design - a single-scsi-LLD-module, has no > other alternative but to spawn the READ10 command into 2 commands: > HPB-WRITE-BUFFER and HPB-READ. > This causes a grat deal of aggrevation to the block layer guys, up to a > point, in which that they were willing to revert the entire HPB driver, > regardless of the huge amount of corporate effort already inversted in > it. > > Therefore, remove the pre-req API for now, as a matter of urgency to get > it done before the closing of the merge window. Anyway: Reviewed-by: Bart Van Assche