Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1781561pxb; Thu, 4 Mar 2021 22:31:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFIYtg7QqftfdMdb6k3TVw2fbRZgTrJ22ALsBuvEONnVt801nI1cev8uc9y24g5bSkkq7P X-Received: by 2002:a05:6638:359:: with SMTP id x25mr8516632jap.136.1614925910641; Thu, 04 Mar 2021 22:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614925910; cv=none; d=google.com; s=arc-20160816; b=YJ8TAdVkthLkVr/o07YcuNc4sLSfihZviWUJKiszPhXBFy9IVW2NVxyuI6FZIqjsIY wwXtm0SFcau+nL5WzKT9Pe2Ez1ROLV/dXeS5R0qcmygwU2IGBiIRaa0eusFWGh/cCGx1 40rGXmsbrH9Zzld6Pq2EyvWLr02isZowlXivp/un+iOAUhbzwlbhzbf2uaHfu4BlrHCc OAhv/vqkmP2exCemZgt0UjIXnp9D0PAO5ZyzJ+a/KzEPqzVjT8CgrrOOaDIIYtWIJSJG WczGudOkzZcp2ng1npX7dlOJVj5fCslRbeIEvLRmQEsfFfzXnbhiv2q4MfrIEierjGnh b9tg== 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=tdFxh/IwKko7eX7MerJN2XbKYLdydpO1wGbVuyNdGhE=; b=pPDxz12hibwkNE2iidQWCWV4vR7J2Cg83H+rC38vyHhnwdCcOcRFOF1AZdvoTpSBIr zgM/NgjB9pEOmiwUsvfXC64DaqiTmlBtrcF8+uZIuUwdcAFiR1AFAFsf3WWLzOuri7Gp fDYWvG3TzM1LpjCz8nHinGCDO/LBmJ+OQHJw3zApWFK7VDYSK/IGmPJGSxqyECxI+XEg pt0++uUKD15tPXAuMc9l3DhIeTYX5hvlt1fNTSKbNpddc9fg9RxZ76PS4QOH8D+8Ftyw Npj4LYic/XVIgjg1ao/qVqLRS63f/GJCGTgv2qEuK5wcVDtEiPdHwhFpg9/cl3CaPChT CsLA== 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 q10si1437950ilo.6.2021.03.04.22.31.37; Thu, 04 Mar 2021 22:31:50 -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 S229701AbhCEGbT (ORCPT + 99 others); Fri, 5 Mar 2021 01:31:19 -0500 Received: from mga06.intel.com ([134.134.136.31]:20021 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbhCEGbT (ORCPT ); Fri, 5 Mar 2021 01:31:19 -0500 IronPort-SDR: jCaSI4WalZ+Fo1ZEDBKJTrY6H2wA+p2T9NBPScxHCUpaRjPnssakV2svtBWDx9Alpgj6YvM/U0 28rtYakrvoWg== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="248974894" X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="248974894" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 22:31:18 -0800 IronPort-SDR: laO2wS6zQdoZxcI1KvIlnFHd63esMY/7AIvcOri2E+aubwcnjMamRQ5nhs6Fzhn9R/snSZg9Rz /U1oe6BHRQ7Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="368473558" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga003.jf.intel.com with ESMTP; 04 Mar 2021 22:31: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; Thu, 4 Mar 2021 22:31:16 -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; Fri, 5 Mar 2021 08:31:14 +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; Fri, 5 Mar 2021 08:31:14 +0200 From: "Winkler, Tomas" To: Arnd Bergmann CC: =?utf-8?B?QWxleCBCZW5uw6ll?= , "linux-kernel@vger.kernel.org" , "maxim.uvarov@linaro.org" , "joakim.bech@linaro.org" , "ilias.apalodimas@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: AQHXET971MxOa6n++U+sE8HjESAciKp07J+A Date: Fri, 5 Mar 2021 06:31:14 +0000 Message-ID: <02dc8b75f0344c659e85ed4267d66102@intel.com> 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: 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 PiBPbiBUaHUsIE1hciA0LCAyMDIxIGF0IDg6NTQgUE0gV2lua2xlciwgVG9tYXMgPHRvbWFzLndp bmtsZXJAaW50ZWwuY29tPg0KPiB3cm90ZToNCj4gPiA+IFdpbmtsZXIsIFRvbWFzIDx0b21hcy53 aW5rbGVyQGludGVsLmNvbT4gd3JpdGVzOg0KPiA+ID4gPj4gIldpbmtsZXIsIFRvbWFzIiA8dG9t YXMud2lua2xlckBpbnRlbC5jb20+IHdyaXRlczoNCj4gPiA+ID4+DQo+ID4gPiA+PiA+PiBUaGUg dXNlciBzcGFjZSBBUEkgaXMgYWNoaWV2ZWQgdmlhIGEgbnVtYmVyIG9mIHN5bmNocm9ub3VzDQo+ IElPQ1RMcy4NCj4gPiA+ID4+ID4+DQo+ID4gPiA+PiA+PiAgICogUlBNQl9JT0NfVkVSX0NNRCAt IHNpbXBsZSB2ZXJzaW9uaW5nIEFQSQ0KPiA+ID4gPj4gPj4gICAqIFJQTUJfSU9DX0NBUF9DTUQg LSBxdWVyeSBvZiB1bmRlcmx5aW5nIGNhcGFiaWxpdGllcw0KPiA+ID4gPj4gPj4gICAqIFJQTUJf SU9DX1BLRVlfQ01EIC0gb25lIHRpbWUgcHJvZ3JhbW1pbmcgb2YgYWNjZXNzIGtleQ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