From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932978AbdBVRvH (ORCPT ); Wed, 22 Feb 2017 12:51:07 -0500 Received: from mail-lf0-f50.google.com ([209.85.215.50]:35707 "EHLO mail-lf0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932867AbdBVRu5 (ORCPT ); Wed, 22 Feb 2017 12:50:57 -0500 MIME-Version: 1.0 In-Reply-To: <20170222164400.GA18745@obsidianresearch.com> References: <1CC272501B5BC543A05DB90AA509DED50B005A@fmsmsx122.amr.corp.intel.com> <20170222051201.GB29755@obsidianresearch.com> <1CC272501B5BC543A05DB90AA509DED50B010C@fmsmsx122.amr.corp.intel.com> <20170222164400.GA18745@obsidianresearch.com> From: Moritz Fischer Date: Wed, 22 Feb 2017 09:50:54 -0800 Message-ID: Subject: Re: [RFC 7/8] fpga-region: add sysfs interface To: Jason Gunthorpe Cc: "Nadathur, Sundar" , Alan Tull , Yves Vandervennet , "matthew.gerlach@linux.intel.com" , linux-kernel , "linux-fpga@vger.kernel.org" , "Marek Va??ut" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jason, On Wed, Feb 22, 2017 at 8:44 AM, Jason Gunthorpe wrote: > On Tue, Feb 21, 2017 at 10:05:42PM -0800, Moritz Fischer wrote: > >> That being said older drivers / fpga-mgr will not deal with newer features. >> TLV / KV or whatever doesn't change this fact, or am I missing something? > > Often a scheme will have an OPTIONAL and REQUIRED flag for each > value. If a REQUIRED value is present but the parser does not > support it then the parse fails. Oh, of course. I'm a dorque :) Obvioiusly better customer experience like that. > For instance, we could mark Encrypted as required, and a zynq driver > that does not support the Encrypted tag would not load the bitfile > rather than try to load it wrongly. Funny you'd mention that. Thanks to your patch the zynq driver won't ;-) I ran into that while testing, hehe. > This can be forced into any of the approaches with various levels of > hackery. Yeah doesn't seem to hard, Cheers Moritz