Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1463374pxb; Thu, 4 Mar 2021 11:59:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXaO6fAqEHMKYbEJhJbW54LS32ZcAVnf6nN4nRzvm/sryx/0GzGpv9tNbu9XG1JAY5nDq6 X-Received: by 2002:a17:906:68c5:: with SMTP id y5mr6196941ejr.371.1614887963305; Thu, 04 Mar 2021 11:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614887963; cv=none; d=google.com; s=arc-20160816; b=gtZcsTnpom0c1YF9BWU41O4ZJJbISCt982q65vDs5LqhzXEeHEfll+RZOmQuagolyw qSYY1FKDp7aBOxAgMd8ryHwEkfjbyHXRN8hm7/R3IfAsdjTPGkRdUIkBUpp4s+x1MsMf u0OnaJ9ISOhJrn8CIPzjh+u4NY84Yd2XCwuQ1VjaIna+rHU8vKDshmveKZr6EVziX79x o6cLx2kld9b+XY6DQtu6KXLx9gPXL+KdEjOd4L8Jyj5kLVQfueXam7t9/ifjR2njyOTU UumxsoxLzWzrErlrS4lnV507TXeU/ZWq8tCdkeooGIES8+tn7tsw+NidCeaFrmkRspBZ j4pg== 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=Uqt6CNzSWr7hx02oZ3qfR6R7EszxZ9oBQNIdHOvL8E8=; b=W3lMjerJZ58emduEyGNSHP/zzwEVIX+ZKG0WY/+Vk6mDPDgEq9J+/Rhc1phnFYPkQy 0kjqyKF2wReyuDcQGrHw7RZl6bX4lHs8oq1ZcSJUm0+v3F1h5lZw5YuaklVF2+VL6sKn 1khqpY9jYRtlSU99+k46LbvQC7Y98isa4B1F2109zlI6R/V4wLs4CseODNp2k59tV5Ik bhydhNjvo9h6I1zXBfBSwli0haN9hD5snUqIuWoVkG9F3fEjfCl5o7PHO2fpjjogpAmb STS1owPso1Jmvw8b+TS6AEctM5jaobsowynXmcRyA7pz6oTGl0NpcIKkXNCCcsmwNUFF ezew== 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 f16si325529edy.392.2021.03.04.11.58.59; Thu, 04 Mar 2021 11:59:23 -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 S234788AbhCDT4D (ORCPT + 99 others); Thu, 4 Mar 2021 14:56:03 -0500 Received: from mga09.intel.com ([134.134.136.24]:50304 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbhCDTzh (ORCPT ); Thu, 4 Mar 2021 14:55:37 -0500 IronPort-SDR: vIB3gybaulJ9Raq/V9Zh/OdbRztyaa+EA0nixwJMLsstptclTBoCy4vHU+bBeEhfbS9ZKDWiqO 0CcBuIJcn5Aw== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="187604060" X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="187604060" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 11:54:56 -0800 IronPort-SDR: y6z7ETtCbLFAnGui2stYUSRwg0Er+Nrq2YqgZexmH1lKFMziHnsTc9Jc0Ose16SHTc1ostkqC6 nM+ipPjSM4OQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="407958025" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga008.jf.intel.com with ESMTP; 04 Mar 2021 11:54:55 -0800 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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 11:54:54 -0800 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by HASMSX602.ger.corp.intel.com (10.184.107.142) 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 21:54:52 +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 21:54:52 +0200 From: "Winkler, Tomas" To: =?utf-8?B?QWxleCBCZW5uw6ll?= CC: "linux-kernel@vger.kernel.org" , "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@lists.infradead.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+/ZF0eKGUVirNKsxapzZSEQgAA6NFiAAACVkIAAXE2AgAA6xRA= Date: Thu, 4 Mar 2021 19:54:52 +0000 Message-ID: References: <20210303135500.24673-1-alex.bennee@linaro.org> <20210303135500.24673-3-alex.bennee@linaro.org> <87eegvgr0w.fsf@linaro.org> <590e0157d6c44d55aa166ccad6355db5@intel.com> <87wnumg5oe.fsf@linaro.org> In-Reply-To: <87wnumg5oe.fsf@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 DQoNCj4gDQo+IFdpbmtsZXIsIFRvbWFzIDx0b21hcy53aW5rbGVyQGludGVsLmNvbT4gd3JpdGVz Og0KPiANCj4gPj4gIldpbmtsZXIsIFRvbWFzIiA8dG9tYXMud2lua2xlckBpbnRlbC5jb20+IHdy aXRlczoNCj4gPj4NCj4gPj4gPj4gVGhlIHVzZXIgc3BhY2UgQVBJIGlzIGFjaGlldmVkIHZpYSBh IG51bWJlciBvZiBzeW5jaHJvbm91cyBJT0NUTHMuDQo+ID4+ID4+DQo+ID4+ID4+ICAgKiBSUE1C X0lPQ19WRVJfQ01EIC0gc2ltcGxlIHZlcnNpb25pbmcgQVBJDQo+ID4+ID4+ICAgKiBSUE1CX0lP Q19DQVBfQ01EIC0gcXVlcnkgb2YgdW5kZXJseWluZyBjYXBhYmlsaXRpZXMNCj4gPj4gPj4gICAq IFJQTUJfSU9DX1BLRVlfQ01EIC0gb25lIHRpbWUgcHJvZ3JhbW1pbmcgb2YgYWNjZXNzIGtleQ0K PiA+PiA+PiAgICogUlBNQl9JT0NfQ09VTlRFUl9DTUQgLSBxdWVyeSB0aGUgd3JpdGUgY291bnRl cg0KPiA+PiA+PiAgICogUlBNQl9JT0NfV0JMT0NLU19DTUQgLSB3c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