Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752068AbbGVUwd (ORCPT ); Wed, 22 Jul 2015 16:52:33 -0400 Received: from mail-bl2on0075.outbound.protection.outlook.com ([65.55.169.75]:34120 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750910AbbGVUw3 (ORCPT ); Wed, 22 Jul 2015 16:52:29 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Authentication-Results: obsidianresearch.com; dkim=none (message not signed) header.d=none; Date: Wed, 22 Jul 2015 15:32:32 -0500 From: atull X-X-Sender: atull@linuxheads99 To: Jason Gunthorpe CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Petr Cvek , , Subject: Re: [PATCH v9 0/7] FPGA Manager Framework and Simple FPGA Bus In-Reply-To: Message-ID: References: <1437148277-5405-1-git-send-email-atull@opensource.altera.com> <20150717172558.GB15808@obsidianresearch.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: SN1PR0701CA0019.namprd07.prod.outlook.com (25.162.96.29) To BN3PR03MB1509.namprd03.prod.outlook.com (25.163.35.148) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1509;2:V9S0GR8kX7vtxC44Ec8I+L5Og9w3rzIs8W5k0KdX6y/CiEYeEyU9HTT1sNlJTjS+;3:3n4J0b9tPVLctiHGDQs34LGLLR/iFkg43u0gkTzYP3SqoiOkVPEVPRgnFGmS7EH6lrca/1UeDEswlxA2Edf1mGdesCmAjDdl2mtJUQd0jmp4A92MIs87CEyDJV+SzwamEoY8JeHUVo3QDQ8gVGDNF9SWuGBxf4xSF61cII4gnjs1uWq9Z+T/PJRBISTAPEsj;25:nsCh/Ui/EDSyJaT3PeUrYfQbA97E2LXJuWcZj/04QDZeerNFqzhV7gplXweZnC5M+AGZd1CIDlQNQ05RF6MLGrZyAe2f6LjW6tQiDKgAXLaRSQzX+YYf5eoPJz4iv7m0nY3xVJXo9vBOeWxX7AwscK9ND8Ihvjir2u5QWLUDqe0Bl2yp9iHxwV482zJ12iEBcDZF6UJzvc7K28AUQ/Mx2Lfn4Tar414ySGOLfrOTA33QRVCbUuDJK6o3iN1skelk;20:G+Npp/RJ9f+u3aLRlAtj6Zfm7iS/ptHSqyBhpuKLVbkJZvv9Nauta4I4RFEIvB4ceYUl/ON5K0nwNHFjIc/oHpc+y/Vxo593+vsaKSfh2k0gLCViEIFbUjbwbuIRDV6ZmQubVuU/Pyz1n+gDs3/QSSV7o56uwS6etX0Bfq3GWHk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(42134001)(42139001);SRVR:BN3PR03MB1509;UriScan:;BCL:0;PCL:0;RULEID:(42134001)(42139001);SRVR:BN1PR03MB234; 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:BN1PR03MB234;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB234; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1509;4:YjH3yz4wV1NqrWEQZaU3rBJK3AHXjqwMp3v0dQ2shsS8T6Y9QI/9P7nvXy6QbWca3d9MuCqs0hCWysAhKF6IFudkA41H2YhusnHAPLm8D/RXpf0eNqhRcd4qOFfIBX4DqiD4NVWG0Y1CVuG6j2nwtBpf0p+y099wNzXuuzQKT3oWIJc6sOd2RahT2RRtx2xw6pvOiYrhv19Poho6p/FMiR1d3CBxXLTphYC09bpJyED8JwoRNVtRfJFBpi5lSJ9+CBSyiLl+SpdspNrvW773jKlaRwO8AHFhw6vSVxJOAhA= X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(24454002)(54356999)(92566002)(47776003)(46102003)(33716001)(40100003)(66066001)(77156002)(62966003)(19580405001)(122386002)(83506001)(42186005)(46406003)(76176999)(189998001)(86152002)(50466002)(5001960100002)(107886002)(110136002)(19580395003)(4001350100001)(5001920100001)(50986999)(2950100001)(77096005)(87976001)(15975445007)(86362001)(23726002)(53416004)(7059030)(4001430100001);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:HJomUJBqLua7oiJWEoogzO2TRm9S/lNM07C4HLQw7?= =?us-ascii?Q?xEcq0Obgd0TG7Bml2BYyuCEY1IWe3lFrH/QuVUT+rKoz6GHyVXKjVs7XP5Qu?= =?us-ascii?Q?J7AimSD1Mopn4Tt63ZWwH9aOQDvTzto/iYzFf3gg0DqGs4xNDU5JYqKkCDNB?= =?us-ascii?Q?rWw8CcaoXgNj7+odX1SgeX5OpnLF2+NbO++HzPfCpw71LCocAAKWALCFaNVD?= =?us-ascii?Q?IZRi9S63ATgYTqP3xL5FNVLPrIY43mVaA+BaUHhHfCqKsR1Flg/OSkuvdbTM?= =?us-ascii?Q?u2CuSs3WCfWnJecEwDq4BvTnAz8LgDL7W+bPs+OO0N5aBjU9eSlzUhIlkBtu?= =?us-ascii?Q?uRkCwr069ZDur7gwtvAn0r5yvLTVncPFgcd6CEvr0Q6PfhWCDcMlc/S2ocrx?= =?us-ascii?Q?hSa/JeKPHCWkmZVMj8fWXDn7WNPIA595iSnJfj18kWHwHENEkZEfMsirSeIb?= =?us-ascii?Q?whKfnaXcF1Q406+0MSx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7aZ7zvunq1KJ2BQMje3bDtW8FKp0lczy0xratHRLthHCvxzTKgkC4R5I4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1509 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD013.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD013;1:Ey+NsLITlVm/UoAlLk3LwVfk05Ch3uNjB0FDzhC0121ce6DaFMR0nELQhRok8MzAEYqV46S5AD+yBNJXhgoLZD+3y0tSgB+XUtYHKVB3uR1SR0wn17b110miilndrijTRwQKF2CzHT0wAA4exZjLsQ3v43OW7sexdMkvZ8zDJGZrzrwb74b6lOQjqpOWA/JaLHmHBGS6CDvZmAZVt3lv65s2YvgSx0Y5HXCxBWKN3+qzchQMBiNs0f3uYvA3hrHh2Vek39k0m/kSnAGxuUkAWFgNe4MODyDdlcPSPQJAl8Rw1nKBLNSeR1nyinS9XmSJhblmx8ed3/JbWpXL5VZyn74vW+fG8cWDh4wJB3ggrqUg1pRkML8qk8YMRMMDKJyEZS+u++OZa23ZR//v5L9NhQltHQA2ShOWqHJvI1b+gD4+pvrcJvJSKvl1E+KAV31L X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(339900001)(24454002)(199003)(189002)(105606002)(77156002)(122386002)(40100003)(92566002)(4001350100001)(19580395003)(6806004)(5001960100002)(83506001)(46102003)(86362001)(87936001)(189998001)(46406003)(62966003)(50986999)(47776003)(86152002)(106466001)(110136002)(50466002)(53416004)(54356999)(77096005)(33716001)(15975445007)(76176999)(66066001)(107886002)(16796002)(2950100001)(85426001)(19580405001)(23726002)(7099028)(7059030)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR03MB234;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnost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6IbtwQ79PKdzijNT7xxOscW+ePYGwiawoilJDHUz52pdiwjAbrG1JWaG+dRfgVlo2YGJDKcZOcCGW6N7zNC4AZgp49rBspoc= X-Forefront-PRVS: 0645BEB7AA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1PR03MB234;23:/qJCFm01VW08a8OIRG0CKNyp7rkMpagZftsKe7vdwE?= =?us-ascii?Q?JpcMLvEuupifabQmCQYkxaospwbKd5f1Q0I1WpPEmPzCOap+hqU03wTgK52u?= =?us-ascii?Q?7AnGEQ+/wzDjsPEB1cMsDUIozrnPaNa9WXFcvM63ONikPU9A+Pny/e1fEWCf?= =?us-ascii?Q?BSL8NbkgueNWOubXaF/azQyEHV2ffUYRtLGwQMGFVEEq62jWKBap2FFjNGFX?= =?us-ascii?Q?wN1Zk9dc+w5pM38w11c3Ph4lA+mw+nRBOngYnUKGy5AknBofMasHYYb2PolY?= =?us-ascii?Q?ZzOncjLIVugEUiVEVXecF4DxgkenDyiYswXERxCvsUSNJRsmzMMr8i/Eg09L?= =?us-ascii?Q?yEsry0jAX5+HyI6uNPshMsE1G8vw7ia3USpnjKjS8QNJ1vpQq/uzwjrrM/Xp?= =?us-ascii?Q?T6CAvFUn7eyyufXMu1FunUdasCPN9bnEQ4BMwuaUdqVmLPfIhs/9ZMF1p0R/?= =?us-ascii?Q?6vPSSgC9Tk8fA+AyGwgIu6afoWhZ4zAUjR61soCJmGZwpn3AbSdOsiwh9JTd?= =?us-ascii?Q?YXG/NIOEu2qHEZWoD+xsDTrqB47TlnV+jvJDPHR3GK3BHdyfVn4gmVxV8F3x?= =?us-ascii?Q?qBnNWlacCjy3vKYIcCQjyt4MksR7yFpj/L0HBkogUc2H2/mBIMs/oWNZ75fO?= =?us-ascii?Q?/q+588cDYZfBE7qriwWESX/U6C4Df3O3vZpNSPlRHPbxm48+1Vn1G2DEPIDZ?= =?us-ascii?Q?P99/C3Wbex4WoXVjREtLa1DN9yS6/Y/Zxrza2yq+CrNn66jzZB3AEne1I8al?= =?us-ascii?Q?TpiqAMdk18VcMBgdz0IleXntwHJYM+2b/+vZ0KQgqS8aSIYWA64t9Fam7zgU?= =?us-ascii?Q?8ZoSHcQcuDgset/Cy5YwlKB5SGWl4Ba8qP6zSUlMt+bXevFyh8aGOstbudSO?= =?us-ascii?Q?U1idZdU+Lq2qxz+5taY6HiCcM9mr1yt/59dD133neU5YjevCYGy/VdKgL6D7?= =?us-ascii?Q?3j3y2iRzX1/yMaxiWuN7nx3E//r6dvcL6eIR2g7kOGSnUp5tKn5Nwd0CN8DL?= =?us-ascii?Q?vNgzWeAh/5DZdnvBVxcbx3rRd0rvhkaRIRRArY/2z3qpd5dZP2WNYil9jzcn?= =?us-ascii?Q?c4XBXJHhsvAS/M4iuUjxy+vnak+CXkBGzC7ONCEcWW6fMb0s92HpIi8Vl1Ca?= =?us-ascii?Q?muHw5ZjJNyh3+VgS6TfuClIe6zfcER?= X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB234;5:O4VK/vi/Hz+VGaYOpmA0iCFBDe9WmVpc1qMQFSVNq2aMTbPoaKqmfUOjb8MAKeHDRCfLIwOwSIxPOFenNLI9biq7KOluhE/w3AMkGn8wSH9SrFtuj3FIF9ZMaI9w8nPao+seifqLSgDA5YdHkxNnGA==;24:GmnNsl3g7a6B/pL9udbXBC/wSb4LL5SkLD7y1zuMR75oG1cJUjFPXG4+EcmyFgbqTQrF4KS4SPqVAMODXJ2Fx6yzZLLXXqfwgm5xeLRlVJc=;20:kzGPyjxb/fCvY8+/5is6jLyehQwj2lrJ4VZMKkieptifz60r77cR5gl8T6zhK8djLBVGYuFS/KjWW7GdgoV2GuzYruhTSXBQsagjAE4xTYTjI3mJ7ZKzZ0+4VA8Xt2U3hRSNuaw91oNHR8bbtL24za5RRWN+3g51cclVX556A3A= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2015 20:37:22.8001 (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: BN1PR03MB234 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1785 Lines: 50 On Fri, 17 Jul 2015, atull wrote: > On Fri, 17 Jul 2015, Jason Gunthorpe 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 > > > > I didn't read super closely, but overall it makes sense to me.. > > > > Providing an in-kernel API will let someone else figure out how to > > expose that to user space. The DT based scheme seems pretty nice. > > > > Thanks! > > > Can you use this without DT overlay? Ie if I provide the FGPA > > description as part of my boot time DT will it just work? > > The simple fpga bus would need to defer probing until after the fpga > manager driver and bridge drivers are probed (that's easy). Since it is > using firmware, it will also have to defer until the filesystem is > available so it can get the fpga image to load. I'll work on it. > > Alan I looked some more; I don't see a simple way of deferring probing until after the filesystem is loaded (so that the image file would be available), late_initcall is still not late enough. Alan > > > > > Jason > > -- > > To unsubscribe from this list: send the line "unsubscribe devicetree" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- 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/