Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756224Ab3G3Rmh (ORCPT ); Tue, 30 Jul 2013 13:42:37 -0400 Received: from 7of9.schinagl.nl ([88.159.158.68]:39232 "EHLO 7of9.schinagl.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754396Ab3G3Rm3 (ORCPT ); Tue, 30 Jul 2013 13:42:29 -0400 Message-ID: <51F7FA37.2010407@schinagl.nl> Date: Tue, 30 Jul 2013 19:39:03 +0200 From: Oliver Schinagl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Greg KH CC: Oliver Schinagl , Maxime Ripard , linux-sunxi@googlegroups.com, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andy.shevchenko@gmail.com, linux@arm.linux.org.uk, linus.walleij@linaro.org Subject: Re: [linux-sunxi] Re: [PATCH 1/2] Initial support for Allwinner's Security ID fuses References: <20130626175144.GC2222@kroah.com> <51D674BF.9030207@schinagl.nl> <20130706193646.GB9778@kroah.com> <51E466A3.4010503@schinagl.nl> <20130716064107.GA10868@kroah.com> <20130717114650.GN3125@lukather> <20130717161758.GA9822@kroah.com> <20130719094211.GD5106@lukather> <20130719234944.GA11498@kroah.com> <51F7BE2F.3060004@schinagl.nl> <20130730142047.GA28696@kroah.com> In-Reply-To: <20130730142047.GA28696@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2163 Lines: 53 On 30-07-13 16:20, Greg KH wrote: > On Tue, Jul 30, 2013 at 03:22:55PM +0200, Oliver Schinagl wrote: >>> Let me go look at how I can make this work "easier", give me a few days. >> Not wanting to be rude, but it has been a little more then a few >> days, any progress? Just want to know what I have to modify my >> driver to so it can go into the next merge window :) > > What? Oh crap. > > I saw this old email in my todo box last week and for some stupid reason > I thought I had already taken care of this, otherwise why would I have > left it around for so long?... > > Ugh, very sorry about that... > > Hm, this is a mess. I hate platform devices... > > Anyway, as you want to get this into 3.12, and I'm not going to be able > to get the core infrastructure into the platform device by then, just go > ahead and do a sysfs_create_group() call in your device probe callback > for now. That will register the needed files for the device (not the > driver, DOH that was stupid of me...) and all should be ok. > > Yes, you will still race with userspace, but as right now, there's no > way that _any_ platform driver can do this "correctly", you will be in > good company. I'll clean up all platform drivers in a sweep of the tree > after 3.12 or so when I get the needed infrastructure in place for the > platform_driver code. > > Again, very sorry for all of this, you have helped me out a lot in > figuring out that this is a mess, and should be fixed up better, but in > the end, you are pretty much back at the beginning of what you > originally wanted to do, right? Alright, I'll modify it to use sysfs_create_group() and try to leave it as much as it is no to ease the transition. > > I owe you a beer, at the least, my apologies... Pff, free booze is far better ;) I kid I kid, though Maxime helped a lot there. Ok expect a v6 I think for review and hopefully merge tomorrow. oliver > > 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/