Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp599772yba; Wed, 15 May 2019 06:53:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlEySUtdRYiN9DgougAT1NjcT0USuf4hSNzleIm72kJzZ6zYMhUtaOryYTQ1NG0jdfPwvS X-Received: by 2002:a63:e43:: with SMTP id 3mr1327143pgo.253.1557928388809; Wed, 15 May 2019 06:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557928388; cv=none; d=google.com; s=arc-20160816; b=gh1jG13VtJpy6mGkCkiIJr6RpKzIB2RXVGXcOxxN/rz6PXBoMWsezHXVSN/3NeYwXh 0rIoWspE3jzBZDufbAbdL9DIFoecwmNFCsHurJn0LBhk/2z1iwNdABBfwuYBh5S+A+4h bymu6TBTtJUDCLCIF7guWB+md1qHUZIxqfEyKUFMTcLhdk//71wIGKehvzUG7tQHix0K XORYhtgKJhXGy9Hr1NsqPUiUFx8IirXJTrICz/uzhf5qEtb9+y3HGxCOtSvXJe0gf/5J 1/bpKiNdwGrBpQi8XqNrCDuCuZhuAXchd5oGT7FkyoHbF0dxEE9wntQZlOYl6IMgZyFb nXzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :mime-version:references:subject:cc:to:from:date; bh=WIHTrDCjhLLHQl9Q8ypApXfEoWVy+GoTbjUaA5ym5FQ=; b=0lxs3RXta/09S8FWowt/64Hp6DsHK5kuPOLs76RO6/L3BcX9kkrjLpV8y2GJfvUwFW 2JM3RfXzsj9reyvfokWjlRCx5ISo6t6Sqg54EqDBimMoiUh6CFJq6wm07QvKjx9Az/O+ AKuqlbMxPilBsqKQiIzZKGXoLfeZ2FVR786qHjLRnyTa3tZ9Wap30YApiHoTr4WwCAyG kSgVdIv8GzAhzR6y/6RwlD3Xq7dV2MmliWzJRSInIbvcBlxjeKM3YYub/0q6q588e9Yp LWf6B08z2vy55WSeO4eq6FaK2vrRRmuhUubQreyPhzgUVaxwFVKGDHgFX/UF6zka1riA Qy/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si1857956pge.328.2019.05.15.06.52.53; Wed, 15 May 2019 06:53:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbfEONvU (ORCPT + 99 others); Wed, 15 May 2019 09:51:20 -0400 Received: from mail.loongson.cn ([114.242.206.163]:48226 "EHLO mail.loongson.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbfEONvT (ORCPT ); Wed, 15 May 2019 09:51:19 -0400 Received: from ambrosehua-X201 (unknown [175.152.210.209]) by mail (Coremail) with SMTP id QMiowPAxGtUlGdxcr2kBAA--.62S2; Wed, 15 May 2019 21:50:31 +0800 (CST) Date: Wed, 15 May 2019 21:50:27 +0800 From: "huangpei@loongson.cn" To: "Linus Torvalds" , "Peter Zijlstra" Cc: "Paul Burton" , "stern@rowland.harvard.edu" , "akiyks@gmail.com" , "andrea.parri@amarulasolutions.com" , "boqun.feng@gmail.com" , "dlustig@nvidia.com" , "dhowells@redhat.com" , "j.alglave@ucl.ac.uk" , "luc.maranget@inria.fr" , "npiggin@gmail.com" , "paulmck@linux.ibm.com" , "will.deacon@arm.com" , "linux-kernel@vger.kernel.org" , =?utf-8?B?6ZmI5Y2O5omN?= Subject: Re: Re: [RFC][PATCH 2/5] mips/atomic: Fix loongson_llsc_mb() wreckage References: <20190424123656.484227701@infradead.org>, <20190424124421.636767843@infradead.org>, <20190424211759.52xraajqwudc2fza@pburton-laptop>, <2b2b07cc.bf42.16a52dc4e4d.Coremail.huangpei@loongson.cn>, <20190425073348.GV11158@hirez.programming.kicks-ass.net>, <20190425091258.GC14281@hirez.programming.kicks-ass.net>, <20190514155813.GG2677@hirez.programming.kicks-ass.net>, X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7.2.10.151[cn] Mime-Version: 1.0 Message-ID: <201905152150256295825@loongson.cn> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-CM-TRANSID: QMiowPAxGtUlGdxcr2kBAA--.62S2 X-Coremail-Antispam: 1UD129KBjvJXoW7tw18JFy3Zw4kKFWrJw1kXwb_yoW8Ary8pF WfKwnFkrZ5ZFs7C34qya17XFyrXryUA3ZxAr18Z3Z8ArZ8C34Ivr17tFs09FyqyrZ5Gw4Y v3yqqw1xuFs3AaUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9Eb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC 0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr 1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4xvF2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