Re: [PATCH v3 0/4] Introduce hardware spinlock framework

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Daney
Date: Friday, December 3, 2010 - 5:29 pm

On 12/03/2010 03:50 PM, Ohad Ben-Cohen wrote:

Does anything other than OMAP4 have one of these things?  And are there 
any devices that are commonly encountered across more than one platform 
that might have these hardware spinlocks, thus making it advantageous to 
have a common framework?

If not why a general purpose framework for a very chip specific feature?

There are chips with hardware atomic memory, but the only time it makes 
sense to use it is in conjunction with specialize on-chip devices.  So 
the implementation details are kept in the drivers rather than creating 
a general purpose hwatomic (with its hwatomic_add() et al.) type.

David Daney

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Fri Dec 3, 4:50 pm)
[PATCH v3 1/4] drivers: hwspinlock: add framework, Ohad Ben-Cohen, (Fri Dec 3, 4:50 pm)
[PATCH v3 3/4] OMAP4: hwmod data: Add hwspinlock, Ohad Ben-Cohen, (Fri Dec 3, 4:50 pm)
[PATCH v3 4/4] omap: add hwspinlock device, Ohad Ben-Cohen, (Fri Dec 3, 4:50 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, David Daney, (Fri Dec 3, 5:29 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Fri Dec 3, 6:28 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Tue Dec 14, 7:31 am)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Tue Dec 14, 11:40 am)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Thu Dec 16, 1:42 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Thu Dec 16, 2:34 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Tony Lindgren, (Fri Dec 17, 5:53 pm)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Tue Jan 4, 5:23 am)
Re: [PATCH v3 0/4] Introduce hardware spinlock framework, Ohad Ben-Cohen, (Tue Jan 4, 1:42 pm)