Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754235AbbGWQoa (ORCPT ); Thu, 23 Jul 2015 12:44:30 -0400 Received: from mail-bn1bon0069.outbound.protection.outlook.com ([157.56.111.69]:19115 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754073AbbGWQmr (ORCPT ); Thu, 23 Jul 2015 12:42:47 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; arm.com; dkim=none (message not signed) header.d=none; Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none; Date: Thu, 23 Jul 2015 11:37:45 -0500 From: atull X-X-Sender: atull@linuxheads99 To: Greg KH CC: , , , , , , , , , , , , , , , , , , , , , , , , , "Petr Cvek" , , , , , , , , , , , Subject: Re: [PATCH v9 0/7] FPGA Manager Framework and Simple FPGA Bus In-Reply-To: <20150723041218.GA6978@kroah.com> Message-ID: References: <1437148277-5405-1-git-send-email-atull@opensource.altera.com> <20150723041218.GA6978@kroah.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BY2PR05CA031.namprd05.prod.outlook.com (10.141.250.21) To BN3PR03MB1509.namprd03.prod.outlook.com (25.163.35.148) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1509;2:OF/hbnIkV5A7e5Pb6dgg67UjkqZ4+aUnMXzhl/WtSf7dmlMLC6pp21Z+LRHEyze6;3:F3aIHeSjfn6Qhdixl59X8Mo4SSh+kPjMq73cpcTnWlO1SabmPXqb/e3U3bHgi21BCDho5t2Xoz0oAQece8HFzeZBHUQ6O7fl/RYHkSjzj+yQOXsfRs2ZLZlNXBDYg9vPhKfmYrsiM1kE8HUbmVR1Rw==;25:lbVDXHWUr6j0vCnKFXiAidyxEDOE2oEQmPkqXn2XNGfxeVmt85J8ocStIlZFvdTYgpyXRqU95AgbeY6iscVF3po/Hi+RHjTRgyAkdKTzGuEulJf+uwciwbbYbrPXjprvYrR+KNSt1dQ9tF5cFLAlSg/TjwxV1gdossdxd/RatHvQEnK7IGN4r8zVTIDXuIkuqbRthl2Q7W4T8P3GczELnqAcFY+CND+Gc4potXExiUEjUgmH844KNkEP8ikei7zNaJ7XRagLfMn0GUt+eaBRlQ==;20:3rBGQ1B7oQAfTyrScC1GMjbNJ7HXeCcaU+zDtSmHmKv47vIUD2pf4Z/fx54S6TZX4FSqJsr+cnKShbMyiIbo++sjpyFVuBVImLzW6kuRaiUFXlRRg5ALnW8mLJXltIma0P/7T8l+57tO/dV+hodjnEkZ92o1Pia0GG8ARqZtl24= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1509;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB116; BN3PR03MB1509: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN3PR03MB1509;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1509;BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BL2PR03MB116;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB116; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1509;4:JREF+8YywW6U/8w4YeAfZB0rSACpKvAka/HIqckcKvmVzRA1gMl/Yh8+CF/6FOA+1W8TRn0AgRN3K03iHquHF7WRC1RPPAkWyzG5yaEspy8XGvyN/PyNjXWsgnrB+IVHX0vB2GS5RaVCAIJgwLAnqhpBKTm6mnO9/A2Nc2nTKH5l4tXMbAVLsEG8cj8md8i0pSmLrrZEBj7d4lRdB7FcFVzSwGvE9/Mk7YchupApzQE5SKV6Wwjig4mOBDHVkBoUKcEstH81EmlKJkfdtLFzvfnxRBu4TourYz/Ds2/5RXI= X-Forefront-PRVS: 06469BCC91 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(24454002)(47776003)(66066001)(40100003)(92566002)(77156002)(54356999)(62966003)(19580405001)(33716001)(42186005)(122386002)(83506001)(46102003)(46406003)(50466002)(110136002)(76176999)(5001960100002)(19580395003)(4001350100001)(5001920100001)(50986999)(15975445007)(87976001)(2950100001)(189998001)(86362001)(575784001)(23726002)(86152002)(53416004)(77096005)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB1509;H:linuxheads99.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BN3PR03MB1509;23:q3m80NcxMTO7v55HiN4kvx99atyuVWzU/kEtej7YV?= =?us-ascii?Q?Hpbew5mUwOMIU5IK9j+bYoujfumXEOHSSrpiT9IpeimP1ndf+49c875OXciL?= =?us-ascii?Q?p+SrR8r5RdQ5oeedS/C3OfYJ9vJ61iTk4EziXTVKiY3Cw8QDprRS5MZVc09I?= =?us-ascii?Q?DMcq4S69Zs+StZccfA0fEUW+9KMaa8cJz9Tm7VY2FqWFpJzLyNEZ7uRk9xoB?= =?us-ascii?Q?10pRqFIC4IKxdUldO9ZwqYfFEM11RAxuE4bl/vuTaLOfpKOqCJLEQdSJqoFz?= =?us-ascii?Q?h64+5SQlkdnlPQMOp0G8XqzqFWozaivqVoBpHSHgTgJoQPlnyxXD3ohCqt99?= =?us-ascii?Q?J3RwKH+e5SsG3O0KDOCEoCIdwoeuC4/0bnErOEdN//Sg9KxKApHacYOLaGt1?= =?us-ascii?Q?dH7l2tx/pBCvAvY2mjXA8WnBrOUlSq7rBuYyfFlV9RgTObj/Pk5OduOycTBI?= =?us-ascii?Q?fRgZqpL7o7pX6uoUDZvawbfiuBiVzTM7Fe0sYUdzRv62pdimZCPaSpLrMxRR?= =?us-ascii?Q?R4lBXTj8KfnU+1bIaOna0K+idvssgfqk5A+gDbeXXAJ5WgBL3Cxce9Ih/Ypa?= =?us-ascii?Q?Kl/M/ajCYi2TPUeDZZz/DbSwCzH7QnTFTdlM7Cq8Rqm7UYxwT4tEkbbk/60z?= =?us-ascii?Q?CXPi5KaoMmItEvXsh3tMTFrW/qfUa9YkqMhHMPs+YBH9hIWJSNLGY97+/W+x?= =?us-ascii?Q?S2jLdl0+Ks21c//2OxkMUvuPdm8N0UaVcx4d760mnLJgZjcu0ILt5RIjEQIv?= =?us-ascii?Q?8cdZspqLRxgX/ZVhIGPZoyw67kEyQ/4grwLtqViPnvQabNJFa/mCI8B12d+R?= =?us-ascii?Q?Sff/z6KEVAT1KMoRw+wh7wqEBjwd3u7jMpod+8ZUyCovPmGVmuqSblg4HFXJ?= =?us-ascii?Q?B0mVgrWIBFIo4Dx74njBAXWsdf2hSOza6qpuYXK4KSse2y4JHqot7st1lqTu?= =?us-ascii?Q?LKkxDKgro+axKFh3hFdcwewJrNe/kH3PPF6Qoxh4g=3D=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1509;5:BbwALPHXeONSQGJoZu93j6L/QFor4dfyhW4GIMthvJkln2RlDYrd7C6OSOhIm03BUw/8OiOQkDy4SXJ+DCmnxVb1XaVIR4ff9J7uhsL4ZDYCP61z9wYqMxH8JpUTaeyGM026c/4rZByHKBihmxtaNg==;24:AC1qwwoippnAQwTURBV6+UXYvfaWE34BeLaUdNkX13rYgnUhaQ+/2JNYSIW/TX/iimN7yh23zGG7xxFUcR2RtFrQf3ncLTKpHKvimru9Xoo=;20:Z9a6k8wearuhS/s2th+u/4po7XcTHqqzmrfZTkUZx+feKS7iCuuro7GVXGlfsjeJs7HQbGrlKBozFsAduYr3YRqQSygPdXQLJQgqg/AqJzKlCclYzqaPLqFWukMxdkqiejAFn94pbQpxM+U7l/0y+BDkg4Cgc//ppI7DIgxodr8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1509 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11OLC003.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC003;1:+eGSM65OS26+GUN6O6Y+4BJTBx14kSPZ7me9Lwy5A3/M+pAcJAF6LOixYbrKD/w3XEAzSl3M0HN+eFerj+ZxLz0tMiZBpoNM0sUQM/iRM/pyNqWHFM26R0vxdlxkUtSTLBm6vybYHLFt3IpU6Xz3DZ25nU1FyyYPBBS5cPMp9+GR22UvGs3Nh2wLEfxsAJO+6R6sSVzrUUqB0gyKvI+ei9CWpoL4WHmSc4TOWiJwGRZTVZXP5ClKMGmxnBtnt878E40L11WAmjHfofJjdXDjrYCf8KwY2O0bhgHD07b6ofw+Y13AvOibCI+/M43CwxB4X0mTNeXk9ykS8g6EDPE7dA== X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(339900001)(199003)(189002)(24454002)(66066001)(6806004)(86362001)(122386002)(46406003)(47776003)(40100003)(83506001)(46102003)(85426001)(575784001)(50986999)(54356999)(33716001)(19580405001)(87936001)(76176999)(92566002)(16796002)(4001350100001)(77096005)(2950100001)(19580395003)(106466001)(5001960100002)(189998001)(105606002)(15975445007)(86152002)(50466002)(77156002)(110136002)(53416004)(5001920100001)(23726002)(62966003)(7099028)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB116;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB116;2:55sdC2MclhhAELP9NBPQmQw9BX6ocY6UZ80oYEX9ZX99uM8u9sRVPoaGAZcokpxD;3:E0lqhmBehdRqpIzwyy7RZfF7uxLMjIu+XSu0ZrxWekLPP8GyOIUOcVjGH5TfTGdcjLL4KRY6h8/cn4/PihWUXfqNratwv7z3F25ZH0P/ETRKk9dfgdUG/yHFRS5ny41QORWD6T9dM+WcbT0BVmS2Pt1OexlxxRCg6E73V2//GkZmuijr7yCWjHNdR8uYaLEsOjaCGM/SlYSnJ917Isgkvbl7ZHxSgOUijj4fHitDrNY=;25:H5tHAl8YusuoR35OaGIGAprIWNrfBGJpIzdUubmDozJeXFxFvru7pHudB3cMV3kA1nuplrHAC/SRXU63afR+bb3Hp7m7MN+wPZapCzKV/f2/HcdnAFeGOBLmo8h+8M1CQSEjqyNAKlWVI7pK5kfQRJ3CrY4Q73FiS9WG9RQnwDIPaF94d34SmnaI/NJ56goIToxptwYzdRtgD8pnjKKK+yH9QROqCaUiYV8MrXYiJmUlSzP7k9xmnd/vv/dsH6Jhpgi25D/lljltcadA94lwxA==;20:D22DKrcSLjbHSY3abKmVguE9LRsHeHZXTdLq4YIGDWztNvl9/TUUF/oauIAgYFsLuG3fiIHGgW/S5ZFgjLKVGDiLuvyjGXGAtEA1Luezz1o5UkMjgPKwMaTE15+H/kOX42ST1mZV5HxHNzy+8f9UNZnMTZV2l2mgyt77jHxFZ0A= BL2PR03MB116: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB116;4:2E3zACYVePiVeiK6lhwacN954WZbZZBRdf5hzIy2IgJ+gRobp+FiLl/0x17181vnYvLp4V0zR2cMHmC3Or2cUUHjzCSzQo260nJmknRPEqlNpg4NzX1WKk9cBvpYPsDTJaZhL4vMWH89Atp95H/6QxBwucxfttmnI6iml3td721MOiMZDaopeRNbTaOrhGcWpJUeu5ogoQc4FZ/v7qIn0QjnV9ml6fV9w6M4zMDvMTdOylNWYDoalMuEHGmDFytFUfhGxV4MyLhMbM/giRDI9UXA+7GEl39FxC1trSXgg+I= X-Forefront-PRVS: 06469BCC91 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB116;23:wVfIrotgw+5uHLpwGlYGYvCkz+BdOwyFeMpx9DWEIF?= =?us-ascii?Q?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KcHtyIZvfgEPLaX?= =?us-ascii?Q?03pCjpGb/wBpkKv5RuWd4eWVTI+W8xmyvc3DyyE+s2HxfSi2JQkXdguXR159?= =?us-ascii?Q?bFQlEVPtHKBWcxWwGAj7Gz0V2VtdOP27gPqCDCm4n1oTb7cxCByFWjWKFVUR?= =?us-ascii?Q?HQxl1CTc0aN55+WJGQsuuhg3nXyhPIxLk9OKzVf5dxoP1x/IvVL/Ezc0tISb?= =?us-ascii?Q?tUX9b0355HSCUDjdCpwxSwCTnU/D2N?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB116;5:yfVn/5iASBgX1v3UPBV0sUSYpgy/i5muuAJpOfvhOE+Jx4QJYucMV92ZVbbTjugjmrniUA7oYU8ar2x/dTwSkEO7sx3pYFiINPYWp0GXN1To4LklJFsLpQ1cTfZ6ZIsRk4cCDQyMC4kssYUMWgO3Og==;24:Z/719JcuVlA83mVujxneDg0Fc84plqrbVHxIS8rO+qDP4hhtLz4Vkdlv+LhCS73KyEdr6FojYKqYsJGhXQ4689/8ozqlH29+QF5doRmpejU=;20:JVx9YRiv30eg3BBwAaTrS9UGbufmnZoNuSz0Qp+k7lfKYMqDhk1izL3H+0nx0VFGRUrvwvrr0rdbCXgX9M7+20ePE5Mw1DLOcL4aB1nGNRY0MvJKOTlxFNMHSwkXodRcjACnn3kLTxb9mVaQIn0Yo6jUsrcD9u88BH3Ch5oB1Pw= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2015 16:42:44.4541 (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.227];Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB116 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4280 Lines: 96 On Thu, 23 Jul 2015, Greg KH wrote: > On Fri, Jul 17, 2015 at 10:51:10AM -0500, atull@opensource.altera.com wrote: > > From: Alan Tull > > > > This patchset adds two chunks plus documentation: > > * fpga manager core: exports ABI functions that write an image to a FPGA > > * DT Overlay support: simple-fpga-bus to handle FPGA from a DT overlay > > > > The core's ABI is minimal to start with: only 6 functions. This gives a > > common interface for programming various FPGA such that any higher level > > interfaces such as the DT Overlays or anything else that is added can be > > shared and not be manufacturor-specific. > > > > The DT Overlays support exists for the usage where the FPGA will contain > > some "hardware" that will need drivers. Where that use model is not > > appealing, the core ABI can be used to add a different use model such as > > using an FPGA as acceleration as has been discussed. > > > > This patchset gets rid of the sysfs controls that allowed direct > > control of a FPGA from userspace. > > > > This patchset is under drivers/staging as the interface could change. > > > > The bindings for the socpfga fpga manager already are upstreamed as > > 1b4e119 Alan Tull : doc: add bindings document for altera fpga manager > > > > The DT Support is dependent on Pantelis's dtc overlay patches from > > https://github.com/pantoniou/dtc.git > > and his DT overlays configfs interface patches and fixes from > > https://github.com/pantoniou/linux-beagle-track-mainline > > > > efb0c04 Pantelis Antoniou : gcl: Fix resource linking > > 85e785e Pantelis Antoniou : ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used > > af0321f Pantelis Antoniou : OF: DT-Overlay configfs interface (v5) > > 4c1c675 Pantelis Antoniou : configfs: Implement binary attributes (v4) > > > > > > Alan Tull (7): > > staging: usage documentation for FPGA manager core > > staging: usage documentation for simple fpga bus > > staging: add bindings document for simple fpga bus > > staging: fpga manager: add sysfs interface document > > staging: fpga manager core > > staging: add simple-fpga-bus > > staging: fpga manager: add driver for socfpga fpga manager > > > > drivers/staging/Kconfig | 2 + > > drivers/staging/Makefile | 1 + > > .../Documentation/ABI/sysfs-class-fpga-manager | 26 + > > .../Documentation/bindings/simple-fpga-bus.txt | 61 ++ > > drivers/staging/fpga/Documentation/fpga-mgr.txt | 117 ++++ > > .../staging/fpga/Documentation/simple-fpga-bus.txt | 48 ++ > > drivers/staging/fpga/Kconfig | 31 + > > drivers/staging/fpga/Makefile | 10 + > > drivers/staging/fpga/fpga-mgr.c | 373 ++++++++++++ > > drivers/staging/fpga/simple-fpga-bus.c | 323 ++++++++++ > > drivers/staging/fpga/socfpga.c | 616 ++++++++++++++++++++ > > All drivers/staging/*/ directories need a TODO file that lists what > needs to be done to it in order to get the code out of staging. Please > redo the series and add that. > > > include/linux/fpga/fpga-mgr.h | 127 ++++ > > This should be within drivers/staging/ all staging code should be > self-contained. > > Why isn't this going into the "real" part of the kernel? Why staging? > Hi Greg, For v10 next week, I will likely break this into two patchsets, one for the real kernel (drivers/fpga) and one for staging. fpga-mgr.c can go into drivers/fpga since both Xilinx and Altera have already been using this code. It's not likely to change much. The part that should go into staging is whatever interface is controversial, that may change. That's simple-fpga-bus.c and any other interfaces that get added that use the functions exported by fpga-mgr.c. Maybe this 2nd patch set should be a RFC since it is still dependent on some of Pantelis' stuff that's not in yet. Alan Tull > thanks, > > greg k-h > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/