Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1603310pxb; Thu, 4 Mar 2021 16:05:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzt6wNGOwRwym1btRBJQP2L2MfT7UqCt/iRiuwVJXIEyBrxFmvAq/bYhTU+O5QH+fWaD0Et X-Received: by 2002:a05:6e02:1b0c:: with SMTP id i12mr6250225ilv.200.1614902704290; Thu, 04 Mar 2021 16:05:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614902704; cv=none; d=google.com; s=arc-20160816; b=H98OqRs7DFHEJ5i92Mo489GP5U/uldMz7Vo9ihhSG4RwX5pqjxstv2cJ9ZBHJ2QLTF toFi5k8LTM/SlXLIid1vAm5caQQIXA/QddMAwqmRfcrlDxhRKGsOwH7dj8/ZrtNXeqly 4h10XU+gB92MsYT/qDf+tgxbpActrx2ydi2JH7bINRTVwpFsWGTA436HxNrS0N/mMveU L/sqts3C6yVc315zneWdLdnN9lMvA1xzMsWFUg1cqXt1yR1Ph9hYuNToOerAJbnNsfDI K+en7gbUkYtEXKM7hvkBHKLMkphq77kTwz4Ex/9Sg3XzaFY4VmBdObBxxweKairz17Nm oW7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=XsXBp7WjZFIhyCQ2ZLptci1YJSHN9e7x78mj3t1FHQc=; b=QqVMo+3mQTti8YXrGjI3JZGFtWmTgJdknQFGXqQmy6n1M81B5hy/endt2k80tgrPsH ZQ8Qw8gWdXalN0oTr1BUr4YugR6jH3GTNY4Aeq5OUxdOh4Df/v+ohtma2KmQxF8E+V9w gUQSbdhRIdPa6LKnMCWTzD2wl8FgIiG5ofeeClrqJFjEen3pjCcEuTib8Eq3Bnm14ykU u0l4vleM++BDq4SyP3xh9+mLF+1omx0i0sMOF+Vco0TOYcg2pyb/KcaROi/TjWN4V6hi HRo33k3eM/hOYjcxja1xQghVVW6UUSu46Amcr+vjyHbg8WnxCvSYiDroBNiu2bK0zN+y Zkmg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si614119ill.76.2021.03.04.16.04.50; Thu, 04 Mar 2021 16:05:04 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235771AbhCDHCW (ORCPT + 99 others); Thu, 4 Mar 2021 02:02:22 -0500 Received: from mga03.intel.com ([134.134.136.65]:50650 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235625AbhCDHCA (ORCPT ); Thu, 4 Mar 2021 02:02:00 -0500 IronPort-SDR: G3UtqCKRLuDRXD1V7IkHqrRLndRFPJEakoqmuFyd/OFltVM+MZD06jS3ztdu4kcxLsg2MSpn06 CWILilaTH9Cw== X-IronPort-AV: E=McAfee;i="6000,8403,9912"; a="187412595" X-IronPort-AV: E=Sophos;i="5.81,222,1610438400"; d="scan'208";a="187412595" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2021 23:01:19 -0800 IronPort-SDR: vcYDitpFPfrySIOM951Ku/aYxHJhjDrmym9Sikf52q6h4l3xzmGjJIQG6H5qZjDGgQt/Kcraeg 2tWuCB5AwoZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,222,1610438400"; d="scan'208";a="445611349" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga001.jf.intel.com with ESMTP; 03 Mar 2021 23:01:18 -0800 Received: from lcsmsx602.ger.corp.intel.com (10.109.210.11) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 3 Mar 2021 23:01:17 -0800 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by LCSMSX602.ger.corp.intel.com (10.109.210.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Mar 2021 09:01:15 +0200 Received: from hasmsx602.ger.corp.intel.com ([10.184.107.142]) by HASMSX602.ger.corp.intel.com ([10.184.107.142]) with mapi id 15.01.2106.013; Thu, 4 Mar 2021 09:01:15 +0200 From: "Winkler, Tomas" To: =?utf-8?B?QWxleCBCZW5uw6ll?= , "linux-kernel@vger.kernel.org" CC: "maxim.uvarov@linaro.org" , "joakim.bech@linaro.org" , "ilias.apalodimas@linaro.org" , "arnd@linaro.org" , "ruchika.gupta@linaro.org" , "Huang, Yang" , "Zhu, Bing" , "Matti.Moell@opensynergy.com" , "hmo@opensynergy.com" , "linux-mmc@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-nvme@vger.kernel.org" , Ulf Hansson , Linus Walleij , "Arnd Bergmann" , "Usyskin, Alexander" , Avri Altman Subject: RE: [RFC PATCH 2/5] char: rpmb: provide a user space interface Thread-Topic: [RFC PATCH 2/5] char: rpmb: provide a user space interface Thread-Index: AQHXEDTT25yAi+/ZF0eKGUVirNKsxapzZSEQ Date: Thu, 4 Mar 2021 07:01:14 +0000 Message-ID: References: <20210303135500.24673-1-alex.bennee@linaro.org> <20210303135500.24673-3-alex.bennee@linaro.org> In-Reply-To: <20210303135500.24673-3-alex.bennee@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.184.70.1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IA0KPiBUaGUgdXNlciBzcGFjZSBBUEkgaXMgYWNoaWV2ZWQgdmlhIGEgbnVtYmVyIG9mIHN5 bmNocm9ub3VzIElPQ1RMcy4NCj4gDQo+ICAgKiBSUE1CX0lPQ19WRVJfQ01EIC0gc2ltcGxlIHZl cnNpb25pbmcgQVBJDQo+ICAgKiBSUE1CX0lPQ19DQVBfQ01EIC0gcXVlcnkgb2YgdW5kZXJseWlu ZyBjYXBhYmlsaXRpZXMNCj4gICAqIFJQTUJfSU9DX1BLRVlfQ01EIC0gb25lIHRpbWUgcHJvZ3Jh bW1pbmcgb2YgYWNjZXNzIGtleQ0KPiAgICogUlBNQl9JT0NfQ09VTlRFUl9DTUQgLSBxdWVyeSB0 aGUgd3JpdGUgY291bnRlcg0KPiAgICogUlBNQl9JT0NfV0JMT0NLU19DTUQgLSB3cml0ZSBibG9j a3MgdG8gZGV2aWNlDQo+ICAgKiBSUE1CX0lPQ19SQkxPQ0tTX0NNRCAtIHJlYWQgYmxvY2tzIGZy b20gZGV2aWNlDQo+IA0KPiBUaGUga2V5cyB1c2VkIGZvciBwcm9ncmFtbWluZyBhbmQgd3JpdGlu ZyBibG9ja3MgdG8gdGhlIGRldmljZSBhcmUNCj4ga2V5X3NlcmlhbF90IGhhbmRsZXMgYXMgcHJv dmlkZWQgYnkgdGhlIGtleWN0bCgpIGludGVyZmFjZS4NCj4gDQo+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