From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F35B03ED5A4 for ; Wed, 6 May 2026 15:54:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778082853; cv=none; b=I/xDQVL3dHiRLvx6MqCgGjBURnQl/Z73WaYm7LxjNIXqthqHWNn4yX/NlWgY+uGahl9njppQcdQaZy65NRF8hq4uMsPxI9TwMzF4/0S2/t6DvClX3B3jmTv/J5O9QUjqifwXOTtGOBk1Zx4tb8ytfYANaigWdTfnCS9s1KkQFOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778082853; c=relaxed/simple; bh=gSzr5CFAF2QI8sdtrCUqrjboHxvUEwMDqhzx9hHI6LI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=D/TUeSM0AzRvYOUiBwK9MNx3HIJNaeFuDABPKGuuEUfNRRdARCRfJDS3ZR3urFKetVH0E0mb8eO3fvnRinORQeF1Jd2qdBLDl2tX9ZrNKtZ5UF32B1y724SJCzZa1CVkHsSwHvT8g+b3p8yw4dhRxhz7kyGeKDJjjOR4NnytfpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=bU+4Ax1t; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bU+4Ax1t" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778082849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CfwuJXmxVQcETfqc5dxTGv+ANbzHmKi4je7ve+hZRzw=; b=bU+4Ax1tq+A6gXpQ6NH6Pxbq88zjD7dCTwTxrHEKQdeU4DHoL/AmfkHNJhHD9+d4Y/rinW JhaLzFkuFyF3r4EIi9jvHugmdvys7dRL6IjtWAbIs8DeVIu2uKiyJhbmvFEl1FGWROjE2B q71ud1BJG8bHiGn+/+rxQj3rWCU3Qhw= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-593-LRAdqKjGNoirGMI0QdLGiA-1; Wed, 06 May 2026 11:54:05 -0400 X-MC-Unique: LRAdqKjGNoirGMI0QdLGiA-1 X-Mimecast-MFC-AGG-ID: LRAdqKjGNoirGMI0QdLGiA_1778082843 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4C9E418002DD; Wed, 6 May 2026 15:54:03 +0000 (UTC) Received: from [10.44.34.151] (unknown [10.44.34.151]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 95FE019560A3; Wed, 6 May 2026 15:53:59 +0000 (UTC) Date: Wed, 6 May 2026 17:53:54 +0200 (CEST) From: Mikulas Patocka To: Linlin Zhang cc: linux-block@vger.kernel.org, ebiggers@kernel.org, gmazyland@gmail.com, bmarzins@redhat.com, linux-kernel@vger.kernel.org, adrianvovk@gmail.com, dm-devel@lists.linux.dev, quic_mdalam@quicinc.com, israelr@nvidia.com, hch@infradead.org, axboe@kernel.dk Subject: Re: [PATCH v3 0/3] dm-inlinecrypt: add target for inline block device encryption In-Reply-To: <20260430095244.3352446-1-linlin.zhang@oss.qualcomm.com> Message-ID: References: <20260430095244.3352446-1-linlin.zhang@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811712-1358702411-1778082842=:879507" X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811712-1358702411-1778082842=:879507 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT I committed the patches, thanks. Mikulas On Thu, 30 Apr 2026, Linlin Zhang wrote: > This patch series is based on Eric�s work posted at: > https://lore.kernel.org/all/ecbb7ea8-11f6-30c1-ad77-bd984c52ca33@quicinc.com/ > > Eric�s patches introduce a new dm target, dm-inlinecrypt, to support inline > block-device encryption. The implementation builds on the work previously done > in Android�s dm-default-key, but intentionally drops passthrough support, > as that functionality does not appear likely to be accepted upstream in the > near future. With this limitation, dm-inlinecrypt is positioned as a > practical replacement for dm-crypt, rather than a general passthrough > mechanism. > > On top of Eric�s series, keyring key support is added in dm-inlinecrypt. Thus, > both keyring key and hex key are feasible for dm-inlinecrypt. In addition, > dm-inlinecrypt.rst is added as the user-guide of dm-inlinecrypt. > > V2: > https://lore.kernel.org/all/20260410134031.2880675-1-linlin.zhang@oss.qualcomm.com/ > > V1: > https://lore.kernel.org/all/20260304121729.1532469-1-linlin.zhang@oss.qualcomm.com/ > > Eric Biggers (2): > block: export blk-crypto symbols required by dm-inlinecrypt > dm-inlinecrypt: add target for inline block device encryption > > Linlin Zhang (1): > dm: add documentation for dm-inlinecrypt target > > .../device-mapper/dm-inlinecrypt.rst | 123 ++++ > block/blk-crypto.c | 3 + > drivers/md/Kconfig | 11 + > drivers/md/Makefile | 1 + > drivers/md/dm-inlinecrypt.c | 596 ++++++++++++++++++ > 5 files changed, 734 insertions(+) > create mode 100644 Documentation/admin-guide/device-mapper/dm-inlinecrypt.rst > create mode 100644 drivers/md/dm-inlinecrypt.c > > -- > 2.34.1 > ---1463811712-1358702411-1778082842=:879507--