Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757058AbbDPMBl (ORCPT ); Thu, 16 Apr 2015 08:01:41 -0400 Received: from foss.arm.com ([217.140.101.70]:37947 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbbDPMBe (ORCPT ); Thu, 16 Apr 2015 08:01:34 -0400 Date: Thu, 16 Apr 2015 13:01:27 +0100 From: Mark Rutland To: Rob Herring Cc: Ohad Ben-Cohen , Bjorn Andersson , Tim Bird , Bjorn Andersson , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Suman Anna , "linux-arm-msm@vger.kernel.org" , Jeffrey Hugo , Andy Gross , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Andrew Morton , Kevin Hilman , Arnd Bergmann Subject: Re: [PATCH v6 1/2] DT: hwspinlock: Add binding documentation for Qualcomm hwmutex Message-ID: <20150416120127.GM2866@leverpostej> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 21 > The part I'm not clear what the purpose of "pool-hwlock" was. One use-case was a set of hwlocks having no fixed purpose, and being available for dynamic allocation between the OS and other entities (e.g. some RTOS on another core). The set of locks forming a reusable pool, and any information associated with them (e.g. the logical IDs used by the other entity) are a property of that interface rather than the hwlock provider. So you'd describe those pools of locks in some interface-specific manner, consuming hwlocks from a set of hwlock providers. Hopefully that doesn't maek things less clear... Mark. -- 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/