Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758948Ab1BPMRo (ORCPT ); Wed, 16 Feb 2011 07:17:44 -0500 Received: from smtp.nokia.com ([147.243.128.26]:21961 "EHLO mgw-da02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756223Ab1BPMRm (ORCPT ); Wed, 16 Feb 2011 07:17:42 -0500 Date: Wed, 16 Feb 2011 13:57:29 +0200 From: Eduardo Valentin To: ext Linus Walleij Cc: Eduardo Valentin , LKML , linux-arm-kernel@lists.infradead.org, Linux-OMAP , Russell King , Andrew Morton , ext Tony Lindgren , ext Kevin Hilman , Peter De-Schrijver , santosh.shilimkar@ti.com, Ambresh , felipe.balbi@nokia.com, Jouni Hogander , Paul Mundt , Lee Jones , maxime.coquelin-nonst@stericsson.com, Jonas =?utf-8?B?77+9YmVyZw==?= , ext Nishanth Menon Subject: Re: [PATCHv5 0/3] Introduce the /proc/socinfo and use it to export OMAP data Message-ID: <20110216115729.GA29817@besouro.research.nokia.com> Reply-To: eduardo.valentin@nokia.com References: <1273587331-24604-1-git-send-email-eduardo.valentin@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1681 Lines: 48 Hello Linus, On Tue, Feb 15, 2011 at 01:58:00PM +0100, ext Linus Walleij wrote: > 2010/5/11 Eduardo Valentin : > > > Here is the version 5 of the change to export OMAP data to userspace > > (name, revision, id code, production id and die id). > > > > Basically, this version is still attempting to create a new file under /proc. > > It is the /proc/socinfo, which should be used to export bits which are SoC specific > > (not CPU related, nor machine related). > > > > So, differences between previous version are: > > - merged patch 02/04 with 03/04 to avoid compilation breakages. > > - simplified the seq_file usage by using the single_open and single_release functions > > - exported a function to register a seq_operation .show callback > > - adapted the changes accordingly > > > > As usual, comments are welcome. > > Eduardo, what has happened to this patchset? Got forgotten :-(. Unfortunately I didn't pushed it hard enough. > > Now we need something similar for arch/arm/mach-ux500 and I was sort of > hoping that this infrastructure would be in place already... wrong I was. Right. > > Do you want help in picking it up and try to polish it up? Yeah, but it would need a refactoring. IIRC, result of last discussion was that we should not mess with /proc. So, maybe moving back to something under sysfs. Perhaps /sys/devices/soc or so? > > Yours, > Linus Walleij -- Eduardo Valentin -- 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/