Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1397954ybv; Sun, 23 Feb 2020 05:48:51 -0800 (PST) X-Google-Smtp-Source: APXvYqz6gKRbtFKlIKqnivQn99oeGhVBDuWHhDvCMbyu+BtqLwwlE9UBQBJc2xSShIiroDccTu6N X-Received: by 2002:aca:c1c2:: with SMTP id r185mr9560789oif.19.1582465731620; Sun, 23 Feb 2020 05:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582465731; cv=none; d=google.com; s=arc-20160816; b=TLhuWm89omTUqP/pgGQcRAZW4t4EbIiVtpYNPmKjn/H50FU8JE/dIEx9AUcvukC4BA lRa09uLv5TKxMx5B+uJNFV0qxjsBWgyJnlSimYhZf2Tvo3k9n9x0NRJUgQjShP08ipdW rqP2/m2x467xAPgwFBglylWYEscAxNONRuufQ8DbdZ7m68emLB4dxxoTpB374tnmIG8N UMf98gkDplWQ2HGL9B5GK2DuGNBMiU2OMpzKoRaWqifrAYfR4mYqqP6yWMemxW/NlHpJ ymgCpqL7ZDdbusxEnPMqeFrsytKVOkEr2L6htxgdrF1znUusKOqLgPJP0UlLo5IRageU TLqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=xzX/UQmBaKzzXeW3wSmoU95INRraG2xqKdLhcRv0zw0=; b=L93hyrZOgrJrkuQpTKqCCtp0Cf5kU7Majn6R03YYyy1kVmzSh6rsG2yKe4QkcA5XQI vojwZESXnE3VztHOpPBnH8X4P9neNWC338RfMG8W5h/uN8nhe/Q5hCzFMG7AXOAJVuwe VmacwTjML6fDf876s2AGWSX8IDj7ccK4yFT3yJ0ItfWzwkpnfBMquOc9LiP47YUc0LSC sTCoMWLvJJO41++KRc0jNpCuFq7bJuDm0KJCvclHPDPcW8xTWVeGrXHqM880LxcpXXDQ 56rmRZVx1RRu+KukB53aucyepuVkdq5PWv3L+vsaVRGF6vEjDkBZM9sIhAOvCSQM/snB Pt9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cC8U13tn; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si4446761otk.277.2020.02.23.05.48.35; Sun, 23 Feb 2020 05:48:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cC8U13tn; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726678AbgBWNrw (ORCPT + 99 others); Sun, 23 Feb 2020 08:47:52 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:26358 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726208AbgBWNrv (ORCPT ); Sun, 23 Feb 2020 08:47:51 -0500 X-UUID: 83b3ac7c022647e98daa2ff3fabae555-20200223 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=xzX/UQmBaKzzXeW3wSmoU95INRraG2xqKdLhcRv0zw0=; b=cC8U13tnRxQzVl2x9qp4ks0D6qUzZqJU0gCf60mIaIrwGbkhE4J1IohyRR7jGBfGws6Jyw8Anbu2asvCqM8yomejgHOU6zwf1gnaSZPj8PA7gSK7tmBytKH3H1qWkyqIg6BWiyhyLuS+5gTBywl6XtWAVbhtMeXY9ePvg/A3G1A=; X-UUID: 83b3ac7c022647e98daa2ff3fabae555-20200223 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1594138836; Sun, 23 Feb 2020 21:47:44 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 23 Feb 2020 21:45:04 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sun, 23 Feb 2020 21:47:56 +0800 Message-ID: <1582465656.26304.69.camel@mtksdccf07> Subject: Re: [PATCH v7 6/9] scsi: ufs: Add inline encryption support to UFS From: Stanley Chu To: Eric Biggers CC: Christoph Hellwig , Satya Tangirala , , , , , , , Barani Muthukumaran , Kuohong Wang , "Kim Boojin" , Ladvine D Almeida , Parshuram Raju Thombare Date: Sun, 23 Feb 2020 21:47:36 +0800 In-Reply-To: <20200221181109.GB925@sol.localdomain> References: <20200221115050.238976-1-satyat@google.com> <20200221115050.238976-7-satyat@google.com> <20200221172244.GC438@infradead.org> <20200221181109.GB925@sol.localdomain> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 994E6A33E05B8928D3F2EC1C5ED8840CD9FEC231CBD3D196C64A17554069603C2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org SGksIA0KDQpPbiBGcmksIDIwMjAtMDItMjEgYXQgMTA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