Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760190AbbBIJXj (ORCPT ); Mon, 9 Feb 2015 04:23:39 -0500 Received: from casper.infradead.org ([85.118.1.10]:51517 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759819AbbBIJXh (ORCPT ); Mon, 9 Feb 2015 04:23:37 -0500 Date: Mon, 9 Feb 2015 10:23:32 +0100 From: Peter Zijlstra To: Peter Ujfalusi Cc: Tony Lindgren , paul@pwsan.com, linux-omap@vger.kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, balbi@ti.com, linux-arm-kernel@lists.infradead.org, Tero Kristo Subject: Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning Message-ID: <20150209092332.GO5029@twins.programming.kicks-ass.net> References: <1423226916-18804-1-git-send-email-peter.ujfalusi@ti.com> <20150206141346.GP21418@twins.programming.kicks-ass.net> <54D4E64C.7060208@ti.com> <20150206183205.GS21418@twins.programming.kicks-ass.net> <54D5154F.8080208@ti.com> <54D86F74.7070703@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54D86F74.7070703@ti.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 17 On Mon, Feb 09, 2015 at 10:27:32AM +0200, Peter Ujfalusi wrote: > As I recall there is a plan to remove the hwmod static database and move it or > generate it from DT? Not sure when and how this will be done, but will it > affect the lockdep_set_class() way? Yes, struct lock_class_key wants to be in static storage. So you could still allocate a few of those statically and then use them where appropriate, but it'd going to be more work. The advantage of having the 1:1 relation is that any parent hierarchy works naturally. -- 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/