From patchwork Thu May 17 11:06:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Dufour X-Patchwork-Id: 10406365 Return-Path: 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 8652660247 for ; Thu, 17 May 2018 11:07:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7392A28A07 for ; Thu, 17 May 2018 11:07:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66B6728A69; Thu, 17 May 2018 11:07:00 +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=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB8B828A5B for ; Thu, 17 May 2018 11:06:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 95F966B04A2; Thu, 17 May 2018 07:06:55 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 8EA2D6B04A3; Thu, 17 May 2018 07:06:55 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 78BF26B04A4; Thu, 17 May 2018 07:06:55 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f197.google.com (mail-qk0-f197.google.com [209.85.220.197]) by kanga.kvack.org (Postfix) with ESMTP id 479586B04A2 for ; Thu, 17 May 2018 07:06:55 -0400 (EDT) Received: by mail-qk0-f197.google.com with SMTP id 198-v6so3591010qkk.19 for ; Thu, 17 May 2018 04:06:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:in-reply-to:references:message-id; bh=OWfcBXnBpLpi1PnVDeqxSaE37d3fFEXS38Pq1dKcrHg=; b=fNPej8zeMKnRzV2FktbvKo0MbL86gB8GjAcjWHun/246U5lEmOUURST5eDolD0ZReA yd5WEYH5LzTj/A5ayGqmdcwYo15NDVSONYfQMnE946CitogHfFEevmvwxnx4U6T2VShb 9BASwuv17oRxPPXw6YzxtIe9z/A+B+U7gPUGG7X2b5XZzjf6jgtUSrxr4wSKmXKWmKQu yp+PU5R5q2M0Ir7xBtQlQU1YC5q6T3jl2z+3ziESzFPnICm617manAq/a2MN1o3cMh/T Ez+iIYl75x0JZyudbqVBRNfAIogYCRple6GELkhXCVqmLxqFr6SvzAveuBf/3eaTMXu6 zuwg== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com X-Gm-Message-State: ALKqPwdGmJ7lQUqhL6IEyjDvuAdGsUU1vSslpmCXnK7M+9QUIJWKheJq OFI3ZGBAfCwtd2mq3ugOH5BrvZ/gtyL8LolZEPz3psobNniQwSLwPAMRNzVJpTRKaKlOXatAne+ fnUs4FT/UfFs4MzSxsLJNnJr9L3+i85foFFSgRw0rJz6S39V/j1iGoWZpQd5U6P4= X-Received: by 2002:ac8:1ac5:: with SMTP id h5-v6mr4700763qtk.379.1526555215064; Thu, 17 May 2018 04:06:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZGp7A0qxqdS4ysYntG0227HyPEBnIYlLnGGmMEBgmHdnaROnSBV5DSJPs0f137N4PTFAf X-Received: by 2002:ac8:1ac5:: with SMTP id h5-v6mr4700655qtk.379.1526555213419; Thu, 17 May 2018 04:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526555213; cv=none; d=google.com; s=arc-20160816; b=M3qkmRNQVy4hcN+tQSvnEP9tAospA1lqQfevgtexnCZZ1PxO+H1+1kwGQeKQiEkzFL VARtmQRJ8nfUyn58tSeDg9yD9C2xKW5PoTyzfsmg4ZZ0Inzhddq1CNl3sBPlKkQAdHUR R6l6zx+IIPbp5m3m/ducI2MOaeE87HYbkdlVgubl4D9EL6SMy8XQYmAgwpGk3Zk8oVMv oBQ7uups4nLi9iT7b+RpAZwctobbTS39D+KqfmG4pOgUdTDFBET6k9f//yxy8ZqYEb3l z3zjLhxrVkDcexVC7XDdppLe7/5DamU9t0kW1wDVW/oYOw6eUrr1ajzv6jRFo5GtB/cK +w3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=OWfcBXnBpLpi1PnVDeqxSaE37d3fFEXS38Pq1dKcrHg=; b=ncNyzpPjSd7hl9UUffi6FWJ0KwlgVs7PosNj8pV1zh593cVzXhFYYOr07yyGvdyipw Mrct6Nw2tVqr3E/iiPoRJhFmvBJltCIhzsL1IJaSZeszHyjDjdk31GwsK+NJZQC24m2L QG5Gtq91oRxmtxNI/UKp/EOAgtatmGJFjfwAyMPUOKb60+xI2pEH9q2TSxDIFWjo4ZhT KYGEacdKesOqEgFLI/IUAVcQwVQOfcBCjPAzV++NuZPx06y+Lqv0XaJrhIhGFEJzzcyO 40hz+FjDXi1nDrS+5GcETV0dvIN2BHx1aGrUKzkn+Og5iCmJkG0ZHikWidHpQofLsl10 x60g== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id d16-v6si4656834qkb.67.2018.05.17.04.06.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 04:06:53 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) client-ip=148.163.156.1; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4HB4ko5043161 for ; Thu, 17 May 2018 07:06:52 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j16b5emgt-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 17 May 2018 07:06:52 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 17 May 2018 12:06:49 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 17 May 2018 12:06:40 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4HB6d9k60620980; Thu, 17 May 2018 11:06:39 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 73AC04C04E; Thu, 17 May 2018 11:58:28 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 43ACE4C04A; Thu, 17 May 2018 11:58:27 +0100 (BST) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 17 May 2018 11:58:27 +0100 (BST) From: Laurent Dufour To: akpm@linux-foundation.org, mhocko@kernel.org, peterz@infradead.org, kirill@shutemov.name, ak@linux.intel.com, dave@stgolabs.net, jack@suse.cz, Matthew Wilcox , khandual@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , sergey.senozhatsky.work@gmail.com, Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, Daniel Jordan , David Rientjes , Jerome Glisse , Ganesh Mahendran , Minchan Kim , Punit Agrawal , vinayak menon , Yang Shi Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, bsingharora@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v11 02/26] x86/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Thu, 17 May 2018 13:06:09 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526555193-7242-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1526555193-7242-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18051711-0044-0000-0000-000005537509 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051711-0045-0000-0000-00002894E8E3 Message-Id: <1526555193-7242-3-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-17_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 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805170100 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT which turns on the Speculative Page Fault handler when building for 64bit. Cc: Thomas Gleixner Signed-off-by: Laurent Dufour --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 47e7f582f86a..603f788a3e83 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -32,6 +32,7 @@ config X86_64 select SWIOTLB select X86_DEV_DMA_OPS select ARCH_HAS_SYSCALL_WRAPPER + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT # # Arch settings