Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp693559ybk; Wed, 13 May 2020 10:31:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHth7LcgRQkThN5urLzOxtA+qCOW9K5Mw9qFVTkLrUHIPju7c7VkB7QiWCE6ZjT4r+JOSN X-Received: by 2002:a05:6402:658:: with SMTP id u24mr694032edx.213.1589391117391; Wed, 13 May 2020 10:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589391117; cv=none; d=google.com; s=arc-20160816; b=zr82l6zEOK/i0FVq//dMWGBRpjWWIqbxtqZUcE4mQ+sM1aFrv+s8M5vLvPSTnBFlQy 59AZ2gEQ8hw3lcQc2frryWKhG1XgiJ9q7z0hvGad1yR3N3JpMnAiNfzsyv6GIBlQjlkd 021eY1nSUIvQYVYsYsaTf4b/qehM6NHD8rBojZFqPzLw1F1pJFhcN4Tqxe/py8odHFB2 1/Bo2IrP01EUmDuA5kQmU7pB3pBDmVTpSDvuPY4KqwIqQ5fEH/bVzg8i2ez1VbBviCGv CwbHJsvUVIrEENOZdxLzyI/vGxD3VwMI7smjbnK7AyIuWkbl8Iqt2UsIUlUKMxEQVbmT k+Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZuVxEm+NQlsxpAV2s2+CKL6etbdXqLXWk5qIn58yMH8=; b=Em2O61qKblno3m6Ju3yQwpzg898it2fFY6b7S+eubHeN2Nf7RA5hiv+C25bKAjnmYi wrYDvfh99hLFzVRlgRq0weUIbhW9xoJIkLz6Hp9KNr7+az1zm+tX8dDQDBTxBlkEoQij Q32hZn7Vms21dKmnR0INxZikKkOqIp/XiIq5XdMK7MfKRT+iEMWQ5Cf/DeA6HI7YkQ9P wA1ZKFhnG7vn3PY9gbk3vK7j23n/lDzPLCDfFdhj8fTxr8QOqZC9V07szLBjirgqjFJF RE/ZAJZYrhlkJ2d6TdozQOQGEZuOtheNLRcW3I2Ilz4WT2GWImVPIZZrEJ5dKZ2PbIR6 TVuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Uwum2c3Q; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si212834eju.478.2020.05.13.10.31.33; Wed, 13 May 2020 10:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@kernel.org header.s=default header.b=Uwum2c3Q; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732781AbgEMRa2 (ORCPT + 99 others); Wed, 13 May 2020 13:30:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:55432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732731AbgEMRa2 (ORCPT ); Wed, 13 May 2020 13:30:28 -0400 Received: from sol.localdomain (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98B3E2053B; Wed, 13 May 2020 17:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589391028; bh=DUxmL2DW8AGAbEDV0E3S6D4sSXQdPvCUpnXQhcWR/Ds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uwum2c3QVIrZZTK8102bH9IE8j/ppIJPr2jA9iSaVCnTI6vRkvuPK9CWKzh9OSW+Q Ja2aYpKfBVoClFrP15T4+vEHspb8GhNnlHfFc/vYHCvXEiydgTWIMXyI/Y6q/kX4zP 6Z93+gkKt1WwCVYlW1zTdXo49pvlmgsdvZKt7itM= Date: Wed, 13 May 2020 10:30:26 -0700 From: Eric Biggers To: Satya Tangirala Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, Barani Muthukumaran , Kuohong Wang , Kim Boojin Subject: Re: [PATCH v12 04/12] block: Make blk-integrity preclude hardware inline encryption Message-ID: <20200513173026.GD1243@sol.localdomain> References: <20200430115959.238073-1-satyat@google.com> <20200430115959.238073-5-satyat@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200430115959.238073-5-satyat@google.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Apr 30, 2020 at 11:59:51AM +0000, Satya Tangirala wrote: > Whenever a device supports blk-integrity, make the kernel pretend that > the device doesn't support inline encryption (essentially by setting the > keyslot manager in the request queue to NULL). > > There's no hardware currently that supports both integrity and inline > encryption. However, it seems possible that there will be such hardware > in the near future (like the NVMe key per I/O support that might support > both inline encryption and PI). > > But properly integrating both features is not trivial, and without > real hardware that implements both, it is difficult to tell if it will > be done correctly by the majority of hardware that support both. > So it seems best not to support both features together right now, and > to decide what to do at probe time. > > Signed-off-by: Satya Tangirala Looks good, you can add: Reviewed-by: Eric Biggers - Eric