Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935481AbcKMWho (ORCPT ); Sun, 13 Nov 2016 17:37:44 -0500 Received: from mail-sn1nam02on0071.outbound.protection.outlook.com ([104.47.36.71]:61760 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935257AbcKMWhl (ORCPT ); Sun, 13 Nov 2016 17:37:41 -0500 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; xilinx.com; dkim=fail (signature did not verify) header.d=altera.onmicrosoft.com;xilinx.com; dmarc=none action=none header.from=opensource.altera.com;xilinx.com; dkim=fail (signature did not verify) header.d=altera.onmicrosoft.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:8983;Count:39 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=atull@opensource.altera.com; Date: Sun, 13 Nov 2016 16:37:20 -0600 From: atull X-X-Sender: atull@atull-VirtualBox To: Moritz Fischer CC: , , , , , Subject: Re: [PATCH 4/4] fpga mgr: socfpga: Expose support for encrypted bitstreams In-Reply-To: <20161107001326.7395-5-moritz.fischer@ettus.com> Message-ID: References: <20161107001326.7395-1-moritz.fischer@ettus.com> <20161107001326.7395-5-moritz.fischer@ettus.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1069819047-1479076651=:2735" X-Originating-IP: [24.206.110.125] X-ClientProxiedBy: YQXPR01CA0040.CANPRD01.PROD.OUTLOOK.COM (10.165.102.178) To BLUPR03MB1507.namprd03.prod.outlook.com (10.163.81.25) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;2:KFMakqnYe6oiTa+c9sQ36NDnufsN5TZpD+eI6AV4V+GhziUOlnhxaXpm9a59hnQRPWxZUKeOM52ZHoZQ4hwHXIhPPztMcPY2HRKHxlCH9MD7l06/Tj2VwVrU0GY1wmZ8jB8ZjcrWe9jE0cjNZVRMInWXx6BZoHlkiFOmej/zkQ8=;3:JqH7BnjsaHpbp2o6BeGa9ZCbuN+V0B530zQGsP6Tp9l34PfF40Kp+Ux3pthvxqb7QwmlqN421aQ10Bhwl1t/E4RxbbRuuX1kx5pa221c6UDGsPETBTi7ariUWpLaHbv6oK6wwPfoYi6UvB8dAffHuo1qUL5x8cLS6rmwPNOWnqo= X-MS-Office365-Filtering-Correlation-Id: ffa6ca76-6546-4794-8b84-08d40c15a9f2 X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR03MB1507; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;25:52Y2hCuK1J6xYsalrCnoXjDJ/OCAYmWZZ9r8GrskkxeqTY3KSgV7q00jijB4yGFM/kKHLL00y3oPsEJxWonSfTIezCeiJ1tgihoLMfUDZDAhE4vCXnIOmkJ41NYyrMkKfWxsCkquwtEFdOKw+GbDjM3aRB9uJf3RNmdeqvNWsn2QZVbo3vIRjq5gS6zAqcYjfiO9W1XA9zUkekq9B/yU4p+sUjskSkchS6CH6hHq3cZ7rnPVr+O1tPBad1dOBFnIHPDfbJB71fFNDq8z2iEXZxNCErceY37UUkcmqDWRNWZjCu/zhLvup+fxTgjORnUkon9MBeCOYqd+eQtmLQunbxWoLCPl3G0riEdDr+2FsZ005b19okxZcthLHd2SevyprbmDd+/g2RNEB0de5YtvtOc4ckFNvX5b6kNOPK735Sgzx5rRXDbcgXEqZGItsb67WpKqzVrqeNjyaczYpm/qIlmYDlGhVdK3ssRROFvy4ZI4RkmsjozeylXSdOSZSMuJwsQEhz3Omjy8xyQlOxcx9FdvPsqcKxHnRK5oevIdP/uuYulqTs6LbqGSpqouHSaXe6RcS6NI5u0PyqYTAynPb2s+8qJASANBH7dZTnSHIprYLGirFEHvPzFEzOrhymtIGpuh86XXgsZXk3h5vmttDa0AUlFWcslsODQcNpAYQ4eTrXGRLwViAaEvHheUqqOL/BybqdNzTix4CtdoiLCMfnLNKqPvxrojF9Tu22WHc+Y2GYhj2gUzc5K0acCBunrBGmIobWcARmXR7HniPmOCXALI8ceM0NjAWu3WjEB7t+IE21Y3CLI6d/gPPpsjuWyXegHPTaRovHSL17HJdfoKpruj29fuyqIYd011O8sOcR1zw99ECfShAKT5cX4nXaJKVyvA5caLGSHgGDz4EcitfA== X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;31:j2ckN/bAQUeq/TmXMFPqvfl7JU3wTf5XGAAD4nNbvoqgypcDn/216K+onXNuLcG2AIxNvbVdQ0/vkTwUBHSJsJP31f5XDdraXJaZkU+Qi5H099fjhGGdGGrIYvd2lX+jvAUN6Q1UO/EQSX6/jcr5t9tU1A5e0rQEc7/nAB28hJsMucJl0LG0bCUTYqJA8FvK3Kcl/+PEHFHMB+lLarK0u8rXIaDP9LSMvjy4IYgLbQUj0pZi/8GuWAcxq83s6CWrBbp+/UmO4oqScly/4FfHcw3FkpFY7YEAqspAnpgW6QU=;20:8dJRimUFb/c3RznEoDWJIrPC4O32HPX6Wdqu0ze9NQQTO+BZXnTqbmQE33s9OLa2rghzjNKaqsMEzJyCbVR0Dq7kJHwHBlkuTTgpVGrnCAfwbkA1/7qRjz4VwrI6kUchmC8jbZ/ssrjBpRgbknZzrh7ojnhdYQt554h6q/MLoig= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(34691856369561)(9452136761055)(80048183373757)(258649278758335)(192813158149592);UriScan:(34691856369561)(9452136761055)(80048183373757)(258649278758335)(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060229)(6045074)(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6046074)(6072074);SRVR:BLUPR03MB1507;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1507;BCL:0;PCL:0;RULEID:(6045074)(6060307)(601004)(2401047)(8121501046)(5005006)(13024025)(13018025)(13023025)(13015025)(13017025)(10201501046)(3002001)(6055026)(6046074)(6061302);SRVR:SN1PR0301MB1997;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1997; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;4:+d57qcU0eICPKMRfsmrZ7gHimI9dKWl63j1dMuThKgjJ7lo/1ljEzYcmHdpYQjUEfctaIs/s4xlsRAOT0U4sWGrS1Wc5vJh4X1+ge7Wwf4+Jb0KvX1tdLXAbXRZ+EeoOpvLP/FNxO0fSJGimWJLUGm8MoWPUQK6y6/QsgjXnp/CGe1fY/uuZ05mFel2b829iCwxG0WyW8QIZhSiYdmv01t7OMM8oNcrz/UXTom6qKg6s6643e6Vc5xVzBcAMfItNHuLqlrpLnddpY7zZpOwzqyb+vrWQJjMpZZr03oEv0Q5dG5kEckOPB0jzXnNFfyFeQiV5J6hAM5Umpp0ZdEKh52sDDjr+He9qIaotI0YGitak5Fu7w0szCNBU/X9waSakPIb/SjtX52J7bSGsTMlOU0bdppGw95CRRVij+RWPJSm3zxC4uIaJq65cQJGsH1WPoKSYBF3U6CtIViO3pJVXsCn0XZ78QYkOKIQLGh2SZEiXR+59SUt48b/0V8xZ7VPPBuoyUSVpe0TLe8bcDpvintpcztZSJ0XVhUxUJbyebwQpLbjtKIMjefs/Xi95RcJfdmoZ7JAF429yQswh0/Qc5ZKdmkcrgViGNbYZ/2mQcEXxFNEotgeyrNk1CIEPxswY778Io5sFWe3juBdeOsU/C2hTuJLaKWIRWCzhXAiZ4w8= X-Forefront-PRVS: 012570D5A0 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(199003)(24454002)(189002)(33716001)(6666003)(2950100002)(66066001)(42882006)(586003)(110136003)(9686002)(6916009)(5660300001)(77096005)(6116002)(3846002)(68736007)(8666005)(7846002)(7736002)(189998001)(305945005)(81166006)(92566002)(86152002)(4001350100001)(97736004)(575784001)(86362001)(4610100001)(81156014)(76176999)(54356999)(105586002)(50986999)(42186005)(2906002)(229853002)(83506001)(106356001)(101416001)(8676002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB1507;H:[10.0.2.15];FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BLUPR03MB1507;23:/Pz50iwKxkpgNc9L6lI+m8JlbjIYxUq4DQ3eLfdDl?= =?us-ascii?Q?MpdHz2cnJjZQyLLsuE2FkrU2Cm+8NAEKqYBvqxtMqDJxvms/11+bwzQOB451?= =?us-ascii?Q?wzIreBHb3p1w0rprCW/2NKxL3fjIlXfyK+K6jzL1qHPEenihheMr7L6qWd53?= =?us-ascii?Q?NqiM21QB8F8bwakhZNldoqkAzex68zpPzsM4wJIMFRrviToLmXYqG0RsHocZ?= =?us-ascii?Q?uqh5i7uWOkiKWZl5/E9KN8EWdloasRnYjyimqdAZuYOkNLat+bXp0GpyP91r?= =?us-ascii?Q?GNh9vb3IMcXqeoCNvirJFxzvlxlf+qO3jH/OxE58WtN8ZCgpoC6cuPtvFuhz?= =?us-ascii?Q?AE4kjTRTAWuhbNlOR7A7zKuGLzJwtEVpF9wrBmo1cZtZ1yIkwZprDmnVou8J?= =?us-ascii?Q?0qclPRB4G2ooNfogoBu+vfxaT9gEzKbEK4/5ztnaJkXvrnfyKyorzYdz393+?= =?us-ascii?Q?/Bfo3mgvBCHuBssxHyogPb/qMiFt/cm+8tXHIGuQ/o39+Km2iYtNvFkqcuyN?= =?us-ascii?Q?d0R1NGCNSyRhCaus4SYWvmN269qIv2n2EeCpEFgcpK54Z+2xqv308c2ZVwm3?= =?us-ascii?Q?2eQzlAcdzlymSzEkxdcBBmP6lYEwKEnbrrlAEjZdw/mhk6aoL7UxM/XXRbB+?= =?us-ascii?Q?H6kr+hBsvj9y0SJ8auyrOsjfj/Pot5WBFA4eUrCgb6m7q/jGvE+PhnoSiu4P?= =?us-asc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kTCnCBdac8L8poTqQYhjn02ql/rHD30wIQ9PPMUcyPNTOo8V6VhwspNT2WW15g==;24:xgQp2/ieL2Se4UgEjUQN1IHVTwtX6niEMPpJyc9YwWZYrjOEU/CgHoznhip6fUe4wxLh/l2+s0IDGtB1gMT0MbQjfXg7LFHc+tBhqJVsjmg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1507;7:wAMYvOLesKZUct1B32pE6nHKUNGj9vTtNzYeMud0HJ2vPywvxqCXtdozjV+SZya5K7vjD6fVUzXjpq5O0kBqyAayIiqudzz482B829ll3jvUKVl2V1U1JOEqHSyaq8bSVDmTpS7x17J3rYaYftJpWa/tG2gz1eYOWzM1ibsjQVIl6zbD2P8BinzsCPfhZONzbEyZhphWSElkTZL37ZzSJ03fKvZnBurRTNzKfgJHShPbhiP3CKTn34VRTlrcelqCqNNxPwBG3fxPt40zhgPF8PI3VHE7aGCJlHZIh2h1eBGkA76sKnXSmmSr0dYBLhAS198tvHu/pjgE9tQVUpzCNBYjANpiexEGhPBgeY6Iqrc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1507 X-IncomingHeaderCount: 39 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD033.protection.gbl X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.35.236.236;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(336003)(339900001)(199003)(189002)(24454002)(42882006)(2950100002)(6916009)(60046009)(5660300001)(105606002)(9686002)(106466001)(77096005)(110136003)(92566002)(6666003)(41446006)(33716001)(8666005)(3720700001)(68736007)(87936001)(305945005)(86362001)(8936002)(83506001)(7736002)(575784001)(626004)(85426001)(229853002)(81156014)(956001)(81166006)(84326002)(356003)(7846002)(50986999)(76176999)(54356999)(4610100001)(90366008)(5009310100001)(6070500001)(86152002)(2476003)(8676002)(3846002)(6116002)(586003)(189998001)(92616002)(66066001)(4001350100001)(97736004)(4326007)(512874002)(2906002)(7099028)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR0301MB1997;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD033;1:AEoDR9rHe+GfEoO6pj3J7uqm4yv/nTRm8mDQkjoo9wW5c8Pbv/oepDkrIu5SsShkqqQlzpYJVlVxvpLWxLAzuLHaCFHmIJeheo59/beXSJLRhWZoL2iPo+J0RPaidQfQzwHvArED1Yw+Fs0Sn9XV+JiLDj37JG8zrK4WlqVx5qw9ecdc5j099hx4o2woCLev60WoyqriSEu2mH/3ytYgkF9Q5fRiJVclBBzacX5U96vmOu3XKQu73X6ffWCw4xwYkUKiywxBsOVLelSYV4EO0/ZeoUbmGDFOo9rh6Tk8Yh82vIg3lGPQyo/d9oLKrWItbJjYsMLcLYbIPdCQH+7v4qnCe5FOkDlb6z+teqNC+XYfxtFaOfIplaaCokA3smTORZ7wPAZKygbsGTqhnmzguuOq6yrIdXpsaLBuqi5jCW74hLAR9gZ+MEBrwDcOh5MUT09l2YxTnruAXdBFrDhjZ9AV3blOaQ6r4u/FN4YC7rvDmTirZR6AFXquVOa+fLvacKzECn615eRUGJxoROb/lxd3ifdvf1D0hz/aomuWSRtV7t4DkeXsCOpT7BqGs+pyqY1KcibC2e0lrDKAEr1ZzqMcwPcZhfpPPW4zGWKupWg= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1997;2:XcvSvRl5IJmr82xkzbRHSRjAU/mM/HoN8v5vZOMolBHG7KVpxdGxpPxUlSW8UicGAlWQuZQCG0i8ehZM3H+VBYs7HEwdaJeg50lDYmH4JIlGU5cFuQgD3UUAp8kV6UrJi7SDrhTFdPxkVnloX5MBUcEQGtsvbxw8jAHasUImUSg=;3:JT4M0bWJcSRSV8DuVOvLNWz5RwqhB8fd/f+zBE7Sa1IhPwC0nOZ2sk7yhsLMakv0sZIRi09fBRn0jBnaaeZdODS8+WnIjF28GBD/UQmEfZ/1x5X8SHH4XmtJfU8OS+bdnR4Q9AzFn5yYWoAZwPJu1MuMvLXcOoJ74iexVeNdLBcq4FApVv5hibKbpREajE72qzNzbkyzR0+kBiLHDzG9eR0kowQtNrkS1/fWcqNMvcoTcOknUu04VNbAJZyAI/DlqZvHhOaM0k3YtwIUBAl4q7HBRuMu87uzuFtBXxat5nY= X-DkimResult-Test: Failed X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(3002016);SRVR:SN1PR0301MB1997; X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1997;25:jwoszkWd6V5PfQyum7xh3aepkVhvkxSEm4m50O7svSlYXAqHsKUjrj8/+kDvtVZNuZXQGT6vtDRn0143+p0558/qBpLoutaJGlEFdT+mdq2PsmuqoRHEpYDstw52vpxvjg5hE2y6l/0zb0aQppzE/O3JM5Dfa2NGWdKSy3WzT1CUW59BcBPXCcm0QlcCun13cqDiWYij3VWKLpDzZhhXxeuRITjUujT6f1AuRVtNDxcE2OO63mfPCLLmfz63PC2Hxawrcg14bKVAmZBbYeRDL0RrDv80lDwQD8s3J/PAZ5gUQQete64DHjeN3nKqRieYab6fPEtukuZV/06zhm9QpYQHb0Q4po/Vx+qXOB0ovXJ7bMOYDnBdg/K7Y3/U9i8JToGEEfZKmytdzx3vi3aR0Ds0MnmMZgQb0H/njOyyYBUCmP6W7MO58kD078hFqVH2IZU8MzKHHKtssYYF8Ke00Q==;31:jfld03rgeGa5nFlKV+BhDpof3UODNaGxllag+sZCAcZ6bdJl3Oaz83Mg58qpodR3VsId7sjbp4XcVU4HbCQSs62ZMkGegZMUadPMu89yTXSqTMNIU693Mx15AzPqxUCK5Iwyg/AztE7dTj7fymQZZKL9hjjGqDI7bWZ1TpB6o+SfA3czXY4dOYkmGvZ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m X-Forefront-PRVS: 012570D5A0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR0301MB1997;23:aexRXLNajMHfp5UCohzzRTKQzCZmI7JN48DMxb5?= =?us-ascii?Q?K1hffbJulvP2V/nFKsE0e0r6W0lGUHAOusKk4uYTWQ1x4pkRZCR23hGunGf3?= =?us-ascii?Q?Ry/E+17lRxBjAwp25wpzjV6rsKO6gDzUlr9R4r0a0DsIdjsH2PHpwiiF1FST?= =?us-ascii?Q?X+Sbp9n5mNkl6sN3S9m3vnyhH01F0ta8t0URZSJh6KS+vbxHDeq7Vb/SZX63?= =?us-ascii?Q?DHxpOZatrL15H9qZGIgyAJklodDLJX8aCqjaGyukI+8mofp+r31we/b4HDFx?= =?us-ascii?Q?8xC+lSFU65wbUxuf2ibkqGQiTqa9GCATgtP1TtbDZo0gM62jQtbINIWuKTn3?= =?us-ascii?Q?qYN4Qnx8IuQE5mVQ5C2Ox7BnNR1zigfXNBenJs5u5dSxPPbCY70ZG14fBlht?= =?us-ascii?Q?vnNajjDdr8qU0r3fgp0K3hjKVC9HEyPAcOnBLDN5s9W0rw/NFSH2qhCNkG2O?= =?us-ascii?Q?e/DyHvCUrL4XOV62MDfNdBO/5mwote78r6/O2Mu5XW6/SKSdzdy8uttOW099?= =?us-ascii?Q?Myr59wooTsisSWp/iAO1BTjHC8ZzDHey0IDAO8QGKJO78UBgU8P95qz+N2aa?= =?us-ascii?Q?V+aEXiQwt1O02yL8GgmlbWZnMcID4135+Vzr4quLYFhAgctYHza1A9l7t/zO?= =?us-ascii?Q?XQIvTpICk7i6zOaP8oq+tEZlIYBf0dXhPO//NTHdKxl+q2O2yU0HOyuUnl5O?= =?us-ascii?Q?+HHlMyWRvhOWgbaepJAK3H2GsZnawTHMj3Od/Rs7C24LwEPi4Wi8WsnDs/xo?= =?us-ascii?Q?k2Vzt+BIfZh0Uem4RhMM1H2KR9zP0TwiotzwRdFwWvKm109EL+a7LiCjg5Sc?= =?us-ascii?Q?7YDuYw1cXmp+kw183F7GlKpJBSQ1B0skjhDABkALdcfIB9sLwlbPYYYx1bVq?= =?us-ascii?Q?musDmwE41Q3x3juoD3gqa70zeVuUNXn0hKRG2eBNx2dYNgo5041QfQIH9cdY?= =?us-ascii?Q?ybT75YpnstcIP7/wHSWQ4OxymHKe/PlDkryAF0SxPVXdkxBFknFFLxdwsgn/?= =?us-ascii?Q?HW8YVHch7o/eQl7dUcc2WYMAi/c9LpuJ/vOOdHpVnO2nOSSf8eXRMaonoMkR?= =?us-ascii?Q?mpw2/txhDr2684EV6Kxa7jwpGCxTS+y1cUv2Wqf/RutICIqyQEjqu5J8agdE?= =?us-ascii?Q?xatl8HupYInMfFA0ipuB2Js82wYEqt9dRVsY31EA1VUkQIgZVoCAfgcFGHtX?= =?us-ascii?Q?MFj+wVMSLCjKfi7DK84FxUATfNhpgK/NA1WBwToplEgge+5pGZMluT6j+zVe?= =?us-ascii?Q?oWg9eMWkhPg5t1WKUZO5Qp/w8Z73hBLhNGZAk7To9hJizyEyy3z23AwrjEVH?= =?us-ascii?Q?Kg0rchArYecZTpnfxmcy86p9TsXJDt0LKFUdNgj4tqc2sIe9KnQWQk+Vx9in?= =?us-ascii?Q?NoXTLf8W11Qy2SIfIppTNYOjk5peq7ROv8wADqs98wetko2oI2wPLF8r2cbC?= =?us-ascii?Q?qyXdHFJnGtqTvrnKFmwDfLvWJNIP2N9E05BBTEJK2/TC3NSBi5lkCFbAmWil?= =?us-ascii?Q?pFkZOpeeCS4+IWJhXSlfE/Qmunh6IEHHcSwipzWQA3GO2ZY/QGAgcZBM4?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1997;6:QKX6ZGaKMU9Iaq8dMuJFd8UpDi2j+MgiZpQAuDfua6w60dG8tI8cGvTu9f441qN2Sf22pvhe7eSA0T8bL2WbJdA/z1xJh8RWXW7hecvzeMO23sKCPApmH+uFxE08DJnEoAsP00rRGHBHxYaFS7RKMAKklS0aTaZO6cBfg6zeIvAehdYfIf+9oBuQqsm4TjfGBAaJ/ijsx03lTs6Brwkil5GpjOahXgNYEguy99CoGlr8i6lONevskN5PYxlTcUvN87JwLG1Pr/Vol0mrtOetJdvENjlN4s9XIK6ATOEEmbKzT40zfoyb/GL2WAJL3vSvg4KTaUJ9L7JQkXLIVHLw/iLsR8nUKzlLU04tH02/gKxb9rwsnSAxhpWlAdwYJLqg;5:gXgJeeLFK+FuzQ4u5qzytvFA3v9b6jUmznvtXtueVm4mdZyXPGkyUJNyBQU34u8shPuddVNTNz1ZXrMKYEiosq6JFcO2Ja77/aW074rdZMg64cvT2re9rqUMb2Mcbj7QngnJZUaGriGeylcJBEXgxg==;24:CF+5v4vuUyOa8VeZm/HqLjR/piwtF1OvLsuOFpaA6J250hjMW3RjWnk6I1+gx4DK1S7887V7x9mk0Ups7Yi+wK8HOJj8OMJG0FXrMXHN5ZY= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1997;7:2k1u5m3YQHyIWWxotBrbEQIM5wGPm5uVMmVCFgLkBHoy27XSCYIwRfhnV3TZaiN8cCFSDBv9MsSXtXDRT9ATYMHFflMNuaxAHwSyMoT4ZTD4ozVzzww0YE2lnlgGD1IGrZySV/In4ib4n1AVP4aAc6n7maPaFgkpwt193WwBpswz5xEEkRLj/jk7+2jTGi6/bso4mni0bZBgeF927yJwTNIIF3TrdK7QaDeNjDlkKmSm1OE7R0bpOJWLsnFsANTnq4hfQvdZTh70TIOwaomClElt4+ZtJyGI7JBKLUDRVVle/W0rcOPc3adltDMhm8SmRaIgHC7SYhjYNz80mP8Gdw== X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2016 22:37:34.8834 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.236];Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1997 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2060 Lines: 70 --8323329-1069819047-1479076651=:2735 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT On Mon, 7 Nov 2016, Moritz Fischer wrote: > Expose support for on the fly decryption of bitstreams. > This needs no additional work or configuration, > so just expose the new capability. Hi Moritz, When we talked about this, I was thinking about the arria10 support which I'd done more recently. c5 and a10 are quite different here. The c5 datasheet: https://www.altera.com/literature/hb/cyclone-v/cv_5v4.pdf Look for the 'stat' register on page 4-12 onwards. This register exposes the setting of the msel pins (are a dipswitch on some boards). The msel pins determine the programming mode and whether it is expecting an encrypted and/or compressed bitstream. So you could read this reg and set the capabilities accordingly. For arria10, encryption is enabled and if the bitstream says it's encrypted, the driver handles it. Alan > > Signed-off-by: Moritz Fischer > Cc: Alan Tull > Cc: Michal Simek > Cc: Sören Brinkmann > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > --- > > Alan, > > can you please let me know if that works this way, or where to find > information on encrypted bitstreams? I have a CycloneV SoCFPGA to test > on ... > > Cheers, > > Moritz > --- > drivers/fpga/socfpga.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c > index fd9760c..ab57ec0c 100644 > --- a/drivers/fpga/socfpga.c > +++ b/drivers/fpga/socfpga.c > @@ -579,6 +579,7 @@ static int socfpga_fpga_probe(struct platform_device *pdev) > > fpga_mgr_cap_zero(&caps); > fpga_mgr_cap_set(FPGA_MGR_CAP_FULL_RECONF, caps); > + fpga_mgr_cap_set(FPGA_MGR_CAP_DECRYPT, caps); > > return fpga_mgr_register(dev, "Altera SOCFPGA FPGA Manager", > &socfpga_fpga_ops, caps, priv); > -- > 2.10.0 > > --8323329-1069819047-1479076651=:2735--