Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756446AbaKTAnu (ORCPT ); Wed, 19 Nov 2014 19:43:50 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:46379 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754641AbaKTAns (ORCPT ); Wed, 19 Nov 2014 19:43:48 -0500 MIME-Version: 1.0 In-Reply-To: References: <1410553499-55951-1-git-send-email-s-anna@ti.com> <1410553499-55951-6-git-send-email-s-anna@ti.com> Date: Wed, 19 Nov 2014 16:43:46 -0800 Message-ID: Subject: Re: [PATCHv6 5/5] hwspinlock/omap: add support for dt nodes From: Bjorn Andersson To: Ohad Ben-Cohen Cc: Suman Anna , Mark Rutland , Kumar Gala , Tony Lindgren , Josh Cartwright , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" , linux-arm Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 12, 2014 at 11:14 AM, Ohad Ben-Cohen wrote: > Hi Suman, [..] > > Does this mean you allow nodes not to have the base_id property? How > do we protect against multiple nodes not having a base_id property > then? > > Implicitly assuming a base_id value (zero in this case) may not be always safe. > Hi Ohad, I still have a huge problem understanding the awesomeness with the "base_id". If you have a SoC with 2 hwlock blocks; say 8+8 locks, used for interaction with e.g. a modem and a video core respectively. Why would you in either remote system offset the locks with 8? Wouldn't e.g the modem use locks hwlock0:0-7 and video core use locks hwlock1:0-7? What systems use more than one hwlock block and do you know of any reasons why these hwlocks are globally numbered? Regards, Bjorn -- 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/