Re: Re:[PATCH 4.9 81/96] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-03-13 Thread Greg Kroah-Hartman
On Wed, Mar 13, 2019 at 09:17:15PM +0800, 陈华才 wrote: > Hi, GREG, > > 4.9 need to modify spinlock.h, please wait my patch. > > > > ---原始邮件--- > 发件人:"Greg Kroah-Hartman" > 发送时间:2019年3月13日(星期三) 凌晨1:10 > 收件人:"linux-kernel"; > 主题:[PATCH 4.9 81/9

[PATCH 4.9 81/96] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-03-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02e07e3127d8aec1f4bcdfb2fc52a2d99b4859e ] On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and lld/scd is very weak ordering. We should add sync instructions "before