Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5190759imm; Tue, 18 Sep 2018 05:53:09 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbl2x5mdijbZg7MysT1ocMEcD5OwOZwxGz5h1z2viHLZ4ADxHRduKM0e8YHeZOlWFINUwqR X-Received: by 2002:a17:902:304:: with SMTP id 4-v6mr29621531pld.39.1537275189763; Tue, 18 Sep 2018 05:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537275189; cv=none; d=google.com; s=arc-20160816; b=VPNnpcabBLmqF+tuIRN3Lzb+2dZcVjSm5QerDZuL7YJSFE5cawvcgQBr3sQ3m5F2Uu UuJ2HpZz8EXLhoQA9ouVJmyleGUCq5GxZ7hz4RafthOPmzhXCpZ7rI5nLDHsWPJf1rMB tHAMjGCzsx6yhryvhZdAeOX1VJ84OJb9DuKqfT6NLGTPrOmBAuwXe7vkQsPi/qpUyb5q CMj0TrNQhWJlVShyyag9haCt3bIln64ihbyUWXhakDNROuff+H3erxMXQ4PXlTvJOJbr JTDyxPz0rzPAIDhGevQX0Rl2W+3AUp6BjALJnAeBVyZOqHZXyxKfqkgdHynXuPNGcN9b Tbxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from; bh=3W08iEIv1DuF0+of32l+YX51w0vRc4Dn/OwfhlwEjN4=; b=NusuJuH4ENsLC0NzPSreUeL2CMPbqvwktp6QbMzOnq5pHGl2QP0O8Ayidu3N7tE4Me 4FoIJGV8CwonkI9eCD4d+qkbqmIKtdw+6zvkGWAQAWWRC3OtyFZQ+ghTcxgdRwtOHT0h p5oNaxYG3zF5I0nCyUoyHsypz4VzVFEx3i98ML+jOQ5lfqM4GHWJVOWMPOv+D1Putcau Q6U6r7hZzmYAG46vaYEXRsC6AZsogp2QZktoR5ZLwcSQlvqybkuTSCBQQOnqGOwwDHhT wUUC47ideHTwZn+TrulIm9k0fRj++GGBGaXsHkRus+UkApz7lI4PpixXjrstY2s972ZF BFIw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y27-v6si18104943pgl.479.2018.09.18.05.52.52; Tue, 18 Sep 2018 05:53:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729753AbeIRSYo (ORCPT + 99 others); Tue, 18 Sep 2018 14:24:44 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:35698 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728631AbeIRSYn (ORCPT ); Tue, 18 Sep 2018 14:24:43 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8ICnp0R105602 for ; Tue, 18 Sep 2018 08:52:15 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mk12320rm-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 Sep 2018 08:52:15 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Sep 2018 13:52:13 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 18 Sep 2018 13:51:56 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8ICpti635389582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Sep 2018 12:51:56 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5EBDD52067; Tue, 18 Sep 2018 15:51:41 +0100 (BST) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 55E6652065; Tue, 18 Sep 2018 15:51:41 +0100 (BST) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 2247) id 77BF920F63D; Tue, 18 Sep 2018 14:51:55 +0200 (CEST) From: Martin Schwidefsky To: Peter Zijlstra Cc: will.deacon@arm.com, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, heiko.carstens@de.ibm.com, Linus Torvalds , Martin Schwidefsky Subject: [RFC][PATCH 0/2] convert s390 to generic mmu_gather Date: Tue, 18 Sep 2018 14:51:49 +0200 X-Mailer: git-send-email 2.16.4 X-TM-AS-GCONF: 00 x-cbid: 18091812-0016-0000-0000-00000206D830 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18091812-0017-0000-0000-0000325DC046 Message-Id: <20180918125151.31744-1-schwidefsky@de.ibm.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-18_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=598 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809180130 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, as an add-on for the TLB flushing changes two patches to make s390 use the generic mmu_gather code as well. I let it run for a few hours with several TLB stress tests, no fallout so far. It certainly can use more testing but it looks ok to me. Martin Schwidefsky (2): asm-generic/tlb: introduce HAVE_MMU_GATHER_NO_GATHER s390/tlb: convert to generic mmu_gather arch/Kconfig | 3 + arch/s390/Kconfig | 3 + arch/s390/include/asm/tlb.h | 130 ++++++++++++++------------------------------ arch/s390/mm/pgalloc.c | 63 +-------------------- include/asm-generic/tlb.h | 9 ++- mm/mmu_gather.c | 114 ++++++++++++++++++++++---------------- 6 files changed, 121 insertions(+), 201 deletions(-) -- 2.16.4