linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM mandatory barriers
@ 2010-02-23 11:00 Catalin Marinas
  2010-03-02  9:50 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2010-02-23 11:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This is a follow up to a previous patch I posted on the implementation
of the mandatory barriers on ARM. The third patch adds support for the
L2x0 cache sync operation and the last patch implements the
RealView-specific mandatory barriers.


Catalin Marinas (4):
      ARM: Change the mandatory barriers implementation
      ARM: Move the outer_cache definitions into a separate file
      ARM: Add outer_cache_fns sync function and support for L2x0
      ARM: Add RealView-specific barrier implementation


 arch/arm/Kconfig                               |    1 
 arch/arm/include/asm/cacheflush.h              |   38 -------------
 arch/arm/include/asm/outercache.h              |   69 ++++++++++++++++++++++++
 arch/arm/include/asm/system.h                  |   18 +++---
 arch/arm/mach-realview/include/mach/barriers.h |   30 ++++++++++
 arch/arm/mm/Kconfig                            |    6 ++
 arch/arm/mm/cache-l2x0.c                       |    1 
 7 files changed, 116 insertions(+), 47 deletions(-)
 create mode 100644 arch/arm/include/asm/outercache.h
 create mode 100644 arch/arm/mach-realview/include/mach/barriers.h

-- 
Catalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 0/4] ARM mandatory barriers
  2010-02-23 11:00 [PATCH 0/4] ARM mandatory barriers Catalin Marinas
@ 2010-03-02  9:50 ` Linus Walleij
  2010-03-02  9:58   ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2010-03-02  9:50 UTC (permalink / raw)
  To: linux-arm-kernel

2010/2/23 Catalin Marinas <catalin.marinas@arm.com>:

> This is a follow up to a previous patch I posted on the implementation
> of the mandatory barriers on ARM. The third patch adds support for the
> L2x0 cache sync operation and the last patch implements the
> RealView-specific mandatory barriers.

Catalin what is the status of these patches? I don't find them in the
patch tracker, are they being reworked? (Sorry if I missed some of the
discussion here...)

Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 0/4] ARM mandatory barriers
  2010-03-02  9:50 ` Linus Walleij
@ 2010-03-02  9:58   ` Catalin Marinas
  0 siblings, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2010-03-02  9:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, 2010-03-02 at 09:50 +0000, Linus Walleij wrote:
> 2010/2/23 Catalin Marinas <catalin.marinas@arm.com>:
> 
> > This is a follow up to a previous patch I posted on the implementation
> > of the mandatory barriers on ARM. The third patch adds support for the
> > L2x0 cache sync operation and the last patch implements the
> > RealView-specific mandatory barriers.
> 
> Catalin what is the status of these patches? I don't find them in the
> patch tracker, are they being reworked? (Sorry if I missed some of the
> discussion here...)

They are being slightly reworked. The latest version is in my devel
branch (the top four patches currently):

http://linux-arm.org/git?p=linux-2.6.git;a=shortlog;h=refs/heads/devel

I think the main issue is whether the smp_mb() should be a DSB or a DMB.
Some drivers assume it's a DSB but this would have performance issues on
other usage models of this barrier where DMB would be enough.

I'll take this today to linux-arch for some clarification and I should
hopefully repost a new set of patches by the end of the week.

-- 
Catalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-02  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-23 11:00 [PATCH 0/4] ARM mandatory barriers Catalin Marinas
2010-03-02  9:50 ` Linus Walleij
2010-03-02  9:58   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).