All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cousson, Benoit" <b-cousson@ti.com>
To: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>
Cc: "Kanigeri, Hari" <h-kanigeri2@ti.com>,
	Linux Omap <linux-omap@vger.kernel.org>,
	Tony Lindgren <tony@atomide.com>, "Que, Simon" <sque@ti.com>
Subject: Re: [PATCH 0/5] omap:hwspinlock support-omap4
Date: Sat, 24 Jul 2010 17:47:26 +0200	[thread overview]
Message-ID: <4C4B0B0E.2020702@ti.com> (raw)
In-Reply-To: <EAF47CD23C76F840A9E7FCE10091EFAB02C6255393@dbde02.ent.ti.com>

On 7/24/2010 5:35 PM, Shilimkar, Santosh wrote:
>> From: Cousson, Benoit
>> Sent: Saturday, July 24, 2010 8:35 PM
>>
>> Hi Santosh,
>>
>> On 7/20/2010 4:12 PM, Kanigeri, Hari wrote:
>>> Santosh,
>>>
>>>
>>>>>
>>>>> Hari Kanigeri (1):
>>>>>     omap:hwspinlocks-ensure the order of registration
>>>>>
>>>>> Simon Que (4):
>>>>>     omap:hwmod-hwspinlock-enable
>>>>>     omap:hwspinlock-define HWSPINLOCK base address
>>>> I think you should fold patch 1/5 , 2/5 into patch 3/5.
>>>> At least patch 2/5 o.w git-bisect will break
>>>
>>> Can you please explain why this would break ?
>>
>> Yep, I'm confused as well...
>>
>> In fact 3&  4 should be merged. In patch 3 we introduce 2 news files
>> that will not be compiled until the next patch. We'd better modify the
>> makefile in the same patch. For the build point of view, the patch  3
>> will be a noop.
>>
> I see your point now. So bisect should be ok but I agree with Benoit suggestion.
>
> Additionally, the base address patch can be avoided because
> this information can be retrieved from platform data.
> 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> 	"res->start" is base address

I've just checked, and this now done like that in this latest patch series.
The base address should just be used for the hwmod definition. For the 
moment I'm still using the hex value to populate the hwmod struct, but 
in the near future I will use the defines defined in omap44xx.h.

Regards,
Benoit

      reply	other threads:[~2010-07-24 15:47 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 16:50 [PATCH 0/5] omap:hwspinlock support-omap4 Hari Kanigeri
2010-07-19 16:50 ` [PATCH 1/5] omap:hwmod-hwspinlock-enable Hari Kanigeri
2010-07-27 15:57   ` Premi, Sanjeev
2010-07-27 16:05     ` Cousson, Benoit
2010-07-19 16:50 ` [PATCH 2/5] omap:hwspinlock-define HWSPINLOCK base address Hari Kanigeri
2010-07-27 15:59   ` Premi, Sanjeev
2010-07-27 16:50     ` Kanigeri, Hari
2010-07-28 14:11       ` Premi, Sanjeev
2010-07-28 14:22         ` Kanigeri, Hari
2010-07-28 14:33           ` Premi, Sanjeev
2010-07-28 14:55             ` Kanigeri, Hari
2010-07-19 16:50 ` [PATCH 3/5] omap:hwspinlock-added hwspinlock driver Hari Kanigeri
2010-07-24 16:43   ` Cousson, Benoit
2010-07-26 20:39     ` Kanigeri, Hari
2010-07-28 16:58   ` Premi, Sanjeev
2010-07-29  4:56     ` Marathe, Yogesh
2010-07-29 13:14       ` Kanigeri, Hari
2010-07-29 13:23         ` Cousson, Benoit
2010-07-30  6:53         ` Marathe, Yogesh
2010-08-02  1:55           ` Kanigeri, Hari
2010-07-29 13:29     ` Kanigeri, Hari
2010-07-29 14:05   ` Nishanth Menon
2010-08-11 22:03     ` Que, Simon
2010-08-12  2:02       ` linux hardware spinlock framework for heterogeneous processor SOCs? Nishanth Menon
2010-07-19 16:50 ` [PATCH 4/5] omap:hwspinlock-add build support Hari Kanigeri
2010-07-19 16:50 ` [PATCH 5/5] omap:hwspinlocks-ensure the order of registration Hari Kanigeri
2010-07-28 17:00   ` Premi, Sanjeev
2010-07-28 17:05     ` Kanigeri, Hari
2010-07-20  5:37 ` [PATCH 0/5] omap:hwspinlock support-omap4 Shilimkar, Santosh
2010-07-20 14:12   ` Kanigeri, Hari
2010-07-24 15:04     ` Cousson, Benoit
2010-07-24 15:35       ` Shilimkar, Santosh
2010-07-24 15:47         ` Cousson, Benoit [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C4B0B0E.2020702@ti.com \
    --to=b-cousson@ti.com \
    --cc=h-kanigeri2@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=santosh.shilimkar@ti.com \
    --cc=sque@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.