Message ID | 1477386195-32736-4-git-send-email-borntraeger@de.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E577660231 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 25 Oct 2016 09:05:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D099C28598 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 25 Oct 2016 09:05:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C221F2949A; Tue, 25 Oct 2016 09:05:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 129CE28598 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 25 Oct 2016 09:05:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1byxdv-0006oT-5a; Tue, 25 Oct 2016 09:03:35 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <borntraeger@de.ibm.com>) id 1byxdt-0006ml-L1 for xen-devel@lists.xenproject.org; Tue, 25 Oct 2016 09:03:33 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id 1E/76-02147-4EF1F085; Tue, 25 Oct 2016 09:03:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCKsWRWlGSWpSXmKPExsUyZfEcRt0H8vw RBptOCFp83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBktr/cwFVxmq7i8/jlTA+ML1i5GLg4hgcuM Ev/bpzFCOC1MEueuT2aCcJ4xSmx7dZUZwrnOKNFzaCpU2U9GibPzbrNBOA1MEp8e3IPqecUo8 fjzCqieZUwSSxd/g9rTwCjxct4Uli5GTg42AROJCxtmsoHYIgKaEivb7oPNYhY4ySrx791HsI SwgL3ElEe/mEBsFgFVidtnvrGD2BICchLbtuxhBLE5BdwlTpybxQxiCwm4SXw+/Z4VokZEYuL f92wQtqrExTkzmSFsHYntnSugbAuJFQ1XoeqNJBYvvwO2ixdozuUZB6BqsiQO7d0I9puEwH9G iS89ixgnMEouYGRYxahRnFpUllqka2iul1SUmZ5RkpuYmaNraGCql5taXJyYnpqTmFSsl5yfu 4kRGEMMQLCD8eJpz0OMkhxMSqK8jZ/5IoT4kvJTKjMSizPii0pzUosPMcpwcChJ8NrI8UcICR alpqdWpGXmAKMZJi3BwaMkwtsHkuYtLkjMLc5Mh0idYtTlWPDj9lomIZa8/LxUKXHeQJAiAZC ijNI8uBGwxHKJUVZKmJcR6CghnoLUotzMElT5V4ziHIxKwryTQabwZOaVwG0CxjDQ/SK8gvE8 IEeUJCKkpBoYq5uy1K4x961SarA6qHzGRfbrP6YN9izzle2m/Fj4VnJ6XGsf04FvtbK1+wuqC 6p6a1POZdTZKS581nJRp3Vh3JuQ+mXrfoiKBWcdCJrSY3XS+Ugm6/ZDMzsPPFrDoRqiybSoyy 4nOW32lW1s/oWi95q88hu23a7sYZvj83h+tsWM/65M5guUWIozEg21mIuKEwEw7CkQJwMAAA= = X-Env-Sender: borntraeger@de.ibm.com X-Msg-Ref: server-2.tower-206.messagelabs.com!1477386206!50655727!1 X-Originating-IP: [148.163.156.1] X-SpamReason: No, hits=0.0 required=7.0 tests=UNPARSEABLE_RELAY X-StarScan-Received: X-StarScan-Version: 9.0.13; banners=-,-,- X-VirusChecked: Checked Received: (qmail 52889 invoked from network); 25 Oct 2016 09:03:27 -0000 Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by server-2.tower-206.messagelabs.com with AES256-SHA encrypted SMTP; 25 Oct 2016 09:03:27 -0000 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u9P8wZWR058680 for <xen-devel@lists.xenproject.org>; Tue, 25 Oct 2016 05:03:26 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 269y3aewf3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for <xen-devel@lists.xenproject.org>; Tue, 25 Oct 2016 05:03:25 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <xen-devel@lists.xenproject.org> from <borntraeger@de.ibm.com>; Tue, 25 Oct 2016 10:03:23 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 25 Oct 2016 10:03:22 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id CE0C717D805D for <xen-devel@lists.xenproject.org>; Tue, 25 Oct 2016 10:05:35 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u9P93Lxd24641628 for <xen-devel@lists.xenproject.org>; Tue, 25 Oct 2016 09:03:21 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u9P93Jk6006609 for <xen-devel@lists.xenproject.org>; Tue, 25 Oct 2016 05:03:21 -0400 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u9P93I1V006578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Oct 2016 05:03:19 -0400 Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 25651) id A995020F628; Tue, 25 Oct 2016 11:03:18 +0200 (CEST) From: Christian Borntraeger <borntraeger@de.ibm.com> To: Peter Zijlstra <peterz@infradead.org> Date: Tue, 25 Oct 2016 11:03:13 +0200 X-Mailer: git-send-email 2.5.5 In-Reply-To: <1477386195-32736-1-git-send-email-borntraeger@de.ibm.com> References: <1477386195-32736-1-git-send-email-borntraeger@de.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16102509-0012-0000-0000-00000477D66B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16102509-0013-0000-0000-000015EEE009 Message-Id: <1477386195-32736-4-git-send-email-borntraeger@de.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-10-25_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=1 spamscore=1 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1610250152 Cc: linux-arch@vger.kernel.org, linux-s390 <linux-s390@vger.kernel.org>, kvm@vger.kernel.org, Christian Borntraeger <borntraeger@de.ibm.com>, Will Deacon <will.deacon@arm.com>, x86@kernel.org, Heiko Carstens <heiko.carstens@de.ibm.com>, linux-kernel@vger.kernel.org, Nicholas Piggin <npiggin@gmail.com>, Russell King <linux@armlinux.org.uk>, sparclinux@vger.kernel.org, Noam Camus <noamc@ezchip.com>, Catalin Marinas <catalin.marinas@arm.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, xen-devel@lists.xenproject.org, virtualization@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, Ingo Molnar <mingo@kernel.org> Subject: [Xen-devel] [GIT PULL v2 3/5] s390: make cpu_relax a barrier again X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index d05965b..5d262cf 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -236,7 +236,7 @@ static inline unsigned short stap(void) */ void cpu_relax_yield(void); -#define cpu_relax() cpu_relax_yield() +#define cpu_relax() barrier() #define cpu_relax_lowlatency() barrier() #define ECAG_CACHE_ATTRIBUTE 0
stop_machine seemed to be the only important place for yielding during cpu_relax. This was fixed by using cpu_relax_yield. Therefore, we can now redefine cpu_relax to be a barrier instead on s390, making s390 identical to all other architectures. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> --- arch/s390/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)