[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56980145.5030901@imgtec.com>
Date: Thu, 14 Jan 2016 12:12:53 -0800
From: Leonid Yegoshin <Leonid.Yegoshin@...tec.com>
To: Will Deacon <will.deacon@....com>
CC: Peter Zijlstra <peterz@...radead.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
<linux-kernel@...r.kernel.org>, Arnd Bergmann <arnd@...db.de>,
<linux-arch@...r.kernel.org>,
Andrew Cooper <andrew.cooper3@...rix.com>,
Russell King - ARM Linux <linux@....linux.org.uk>,
<virtualization@...ts.linux-foundation.org>,
Stefano Stabellini <stefano.stabellini@...citrix.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
Joe Perches <joe@...ches.com>,
David Miller <davem@...emloft.net>,
<linux-ia64@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
<linux-s390@...r.kernel.org>, <sparclinux@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-metag@...r.kernel.org>, <linux-mips@...ux-mips.org>,
<x86@...nel.org>, <user-mode-linux-devel@...ts.sourceforge.net>,
<adi-buildroot-devel@...ts.sourceforge.net>,
<linux-sh@...r.kernel.org>, <linux-xtensa@...ux-xtensa.org>,
<xen-devel@...ts.xenproject.org>,
"Ralf Baechle" <ralf@...ux-mips.org>,
Ingo Molnar <mingo@...nel.org>, <ddaney.cavm@...il.com>,
<james.hogan@...tec.com>, Michael Ellerman <mpe@...erman.id.au>,
Paul McKenney <paulmck@...ux.vnet.ibm.com>
Subject: Re: [v3,11/41] mips: reuse asm-generic/barrier.h
On 01/14/2016 04:04 AM, Will Deacon wrote:
> Consequently, it's important that the architecture back-ends implement
> these portable primitives (e.g. smp_mb()) in a way that satisfies the
> kernel memory model so that core code doesn't need to worry about the
> underlying architecture for synchronisation purposes.
It seems you don't listen me. I said multiple times - MIPS
implementation of SYNC_RMB/SYNC_WMB/SYNC_MB/SYNC_ACQUIRE/SYNC_RELEASE
instructions matches the description of
smp_rmb/smp_wmb/smp_mb/sync_acquire/sync_release from
Documentation/memory-barriers.txt file.
What else do you want from me - RTL or microArch design for that?
- Leonid.
Powered by blists - more mailing lists