Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3145322imm; Thu, 17 May 2018 04:15:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr7/YV8adXPJ/Vb0h1nPgB24DB5jdCDcNVgZkNYENcv6eo7ZRy4Qd7gNE6OxQyyCHksSGV6 X-Received: by 2002:a63:740d:: with SMTP id p13-v6mr3731645pgc.327.1526555725222; Thu, 17 May 2018 04:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526555725; cv=none; d=google.com; s=arc-20160816; b=KpOQHzRAU+AyuFjnjtxP6ONMViUysqTFHuBd12aVAVdPugbiu5s9zmNbG6O9rIKcVp Gj0Dq4PyhaY5JxEIejh9CBd5C8e0J88NejgRnYJtc8/diatg21Vt0aL9wqR5//E33rQw y231poq79fQTYssd1AA8T8lqCr4Q+HppdS946w+78eR1RzIlybJN2DdR/aQc7cnyAFAH xPytkDrujdTodaPctyS9SBC7W60YGo6XVth4KYqGTlUAIzk+vX949moEfFBUW+L6ExE+ MIsBkvtz+UbACa/lP9mOFMItstRTGyX2Jg0PZ/0QAU30JSR/Cm9EPVoP4jv8Zis2XPlA WDtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=OWfcBXnBpLpi1PnVDeqxSaE37d3fFEXS38Pq1dKcrHg=; b=M81neZhjDxalUk/JnTO4eKeR15b+R2IoHOYxnF5ssA3sMxoKv+gWEBMKe0C1u04zIM JbZGsKy3Tvht+DB3sA7oLzZAhTR1uosKZIoPtPb5vC9lAmj+H0P81JTZLioXA9v23frT mL+lfgImtG27Yhkw3NOtUOlfsm9mvXvubON3TMgxnAGMwwWnWolIJnbxsYG03klEEjKC 0zZKm0Vvy/6SxpBFR/C5UD4Egb6m2Q9OjDwznGPBi/NevKI9bvR5w37mm+psYvvn4Lv6 +adsoDAlc4YHK0gZWEikh7NredKEIP2ZSwX2g3+526zKBd1if+Hlz+rGw0BnyU4N7YN0 R+ww== 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 t22-v6si5154647plj.595.2018.05.17.04.15.10; Thu, 17 May 2018 04:15:25 -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 S1752290AbeEQLNJ (ORCPT + 99 others); Thu, 17 May 2018 07:13:09 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37738 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbeEQLGx (ORCPT ); Thu, 17 May 2018 07:06:53 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4HB4DWs144058 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 2j18ah0sek-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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805170100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.4