Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4555646ybv; Tue, 25 Feb 2020 22:43:41 -0800 (PST) X-Google-Smtp-Source: APXvYqyM/96Wj7M7Og4J+vdd2H9+RB9ipddi9eZtKWONmM1eYS21YamO0crifaE06JIcl8rd0tmn X-Received: by 2002:a54:4010:: with SMTP id x16mr2039562oie.174.1582699421237; Tue, 25 Feb 2020 22:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582699421; cv=none; d=google.com; s=arc-20160816; b=BOEhTBYpS2k35jmkURloQHc4WZ/gbEAkuqC01YeOf4RnUTPUVWCPMfyIWkltZLjGiH TidIbhrwS5DLjXNJZOpZwTJuYRkB8YLDcp+kOCZVF5YF2/NyCZ2UxtLO8S1Nb1JzopJV L5m9+0D3UTnjEn5WCHQIV7eNawIt+eTJ46jggqjaqfEnDMManDvqNI7A7xQnCyHuZC9p 3R0e9vTCKBBLDI/W2V+F3SOKka7EEFF9ogknZuQ6lH8FSCgAsk80UDsTxy09lo3zS0CG bZdAZQICP3XKSfaCiYyBxV4aSTu4+hpQL+LHyfCncXS35Ye82GJpaYaVi3bqEVbQNFFe 4x3A== 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=apvx+VLcaGZjP80PbFYAB+4q9C0nw1KkpiRc7G/OTT0=; b=QJvP2//Rg5vUJ3/WAR0TCAmTXqPVRk0+ea1TlLAeupjo6iBDjBxD3RjVShi32rmshK 34hdtfeKvxNpV201Gxepjst9X/mSbGZX+ic/p4o1pHZEAql77+cJXp3V+l5ToUBDuP3o S6cXeMJL/vGaCO8W0lDw424Hw7JJNEgNUElbh0ZyZK8H9pt/a6d7T5NkPHv2VR1tYP87 Y6DBjcKC0+HwL8Zyrpm7UdozfvoKtM8Yb0eZZSut1RsXQva53vglmlbDOTl8Y/Cuc/wB 8m+iOXdQOwfhzLjIOROqZMy0BHmxrOEE/kZf7ACp5iGsqbUFa978vN3jNYKugKsZIlUN 5XUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LQPK7eVt; 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 v21si726769otj.282.2020.02.25.22.43.21; Tue, 25 Feb 2020 22:43:41 -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=LQPK7eVt; 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 S1726229AbgBZGnU (ORCPT + 99 others); Wed, 26 Feb 2020 01:43:20 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:6047 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726112AbgBZGnU (ORCPT ); Wed, 26 Feb 2020 01:43:20 -0500 X-UUID: 66ab466f211b4c578793ed09b5fa2993-20200226 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=apvx+VLcaGZjP80PbFYAB+4q9C0nw1KkpiRc7G/OTT0=; b=LQPK7eVtpWBPw8xiPHS9jB8i5vXbWpu1Tc+wAzon0iiqZYlkRoxGvNRk5L9f8fEIPVDuPfebLxbLMQ/hXl++0DzkdCCeKRpCARCKaWXWljYLlekfmNiRaFM7gwqHhecoxY5/6rmXURdQ9QAlqtXooKHkDYmChmpNE8D59xI6Z38=; X-UUID: 66ab466f211b4c578793ed09b5fa2993-20200226 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 675364193; Wed, 26 Feb 2020 14:43:16 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Feb 2020 14:41:21 +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; Wed, 26 Feb 2020 14:43:23 +0800 Message-ID: <1582699394.26304.96.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: Wed, 26 Feb 2020 14:43:14 +0800 In-Reply-To: <20200226011206.GD114977@gmail.com> References: <20200221115050.238976-1-satyat@google.com> <20200221115050.238976-7-satyat@google.com> <20200221172244.GC438@infradead.org> <20200221181109.GB925@sol.localdomain> <1582465656.26304.69.camel@mtksdccf07> <20200224233759.GC30288@infradead.org> <1582615285.26304.93.camel@mtksdccf07> <20200226011206.GD114977@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 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 SGkgRXJ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