Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1157022

Re: [PATCH 1/3] MIPS: R6: Use lightweight SYNC instruction in smp_* memory barriers

Path csiph.com!aioe.org!goblin3!goblin1!goblin.stu.neva.ru!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] MIPS: R6: Use lightweight SYNC instruction in smp_* memory barriers
Date Wed, 03 Jun 2015 04:00:02 +0200
Message-ID <px68i-2Kb-3@gated-at.bofh.it> (permalink)
References <pwHWi-PX-15@gated-at.bofh.it> <pwHWi-PX-13@gated-at.bofh.it> <pwRVD-73I-1@gated-at.bofh.it> <pwX50-6oK-21@gated-at.bofh.it> <px4g9-8sG-13@gated-at.bofh.it>
X-Original-To David Daney <ddaney.cavm@gmail.com>, "Maciej W. Rozycki" <macro@linux-mips.org>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version 1.0
Content-Type text/plain; charset="windows-1252"; format=flowed
Content-Transfer-Encoding 7bit
X-Originating-IP [10.20.3.79]
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc James Hogan <james.hogan@imgtec.com>, <linux-mips@linux-mips.org>, <benh@kernel.crashing.org>, <will.deacon@arm.com>, <linux-kernel@vger.kernel.org>, Ralf Baechle <ralf@linux-mips.org>, <markos.chandras@imgtec.com>, <Steven.Hill@imgtec.com>, <alexander.h.duyck@redhat.com>, "David S. Miller" <davem@davemloft.net>
X-Original-Date Tue, 2 Jun 2015 18:56:44 -0700
X-Original-Message-ID <556E5EDC.9030209@imgtec.com>
X-Original-References <20150602000818.6668.76632.stgit@ubuntu-yegoshin> <20150602000934.6668.43645.stgit@ubuntu-yegoshin> <556D8A03.9080201@imgtec.com> <alpine.LFD.2.11.1506021709420.6751@eddie.linux-mips.org> <556E42BB.4060705@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1157022

Show key headers only | View raw


On 06/02/2015 04:56 PM, David Daney wrote:
> On 06/02/2015 09:15 AM, Maciej W. Rozycki wrote:
>> On Tue, 2 Jun 2015, James Hogan wrote:
>>
>>>
>>> binutils appears to support the sync_mb, sync_rmb, sync_wmb aliases
>>> since version 2.21. Can we safely use them?
>>
>>   I suggest that we don't -- we still officially support binutils 
>> 2.12 and
>> have other places where we even use `.word' to insert instructions 
>> current
>> versions of binutils properly handle.  It may be worth noting in a 
>> comment
>> though that these encodings correspond to these operations that you 
>> named.
>>
>
> Surely the other MIPSr6 instructions are not supported in binutils 
> 2.12 either.  So if it is for r6, why not require modern tools, and 
> put something user readable in here?
>
>
No, it can be used for MIPS R2 also.

--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] MIPS: R6: Use lightweight SYNC instruction in smp_*  memory barriers David Daney <ddaney.cavm@gmail.com> - 2015-06-03 02:00 +0200
  Re: [PATCH 1/3] MIPS: R6: Use lightweight SYNC instruction in smp_*  memory barriers Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-06-03 04:00 +0200

csiph-web