Received: by 10.192.165.156 with SMTP id m28csp141685imm; Tue, 17 Apr 2018 07:49:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+h33CvfP4yERVJtvnS2I5KKVt8CDu1lXNWHBuNkcaT1+L1HSaPbi0kpfIZNoqNVXYm0BO+ X-Received: by 10.98.157.199 with SMTP id a68mr2252446pfk.237.1523976584826; Tue, 17 Apr 2018 07:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523976584; cv=none; d=google.com; s=arc-20160816; b=Tobs8Flzr79PjpLunYZnHKdIHrSrWzN8tDaz6w/ob7+sE8wvWdezTe2vmH1Ca/D4Y1 n1RnGElivrQj7YIC9/dGUmX3j8rqUqV5M1i9R0z3C2AhjGilm8C4u7xmtPxuKSl+6b37 ffAj02BatonyMd0Oaw+bZ7pBEf9JsV5NWKVsYBXjbK1luTg1K6aR7e9MGsOOpYxW8C7f uWW0KmfgsyjYIaTVfBMuoKq1FERqILMdN+DYLDeMzQAojW4EC6xMscM2/YGEAmirzdTf 4N9IRDMSTjExyyIDRyMCICkJ9T2KwbAdpV1CHYpVkJqp0ipHvbXzRjY7dmer/ocqqZJN KBDQ== 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=58WnR6+deqn7yx5gyIV7GD8Xie61ic6XEA8JdAybmvQ=; b=U6XDlwq/jNp/XN192blqFytkUWfDW7B6PxGxO20Wus4hMhW63M8X8hpw2DUSabjppW DQCq2539a7qCc6w0Qbr9AumiNSeUnc5XyMfofRhYZ2AyzArq9o9n1dyyehf3HklvVgUG GRSzbxPiCkXZx1wwLv4k/QyAqsScl8I8+BEKZpuTYj49MEdiTdt564z6BvJHH6SSbQaR iAGmA+E6lujoE09fmaJnaD6J5GqTIxqM6mBeIjyzDDDFTEFz6H1s1YO7GRvKqSkWLZYm h6hcHbAMltFH+jxUhS+lqZ0mXveIsbodXV/+zz7oLeBRObe24tTNOgRVdtVPJ9b0LTEs kNNg== 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 z3si12471246pfe.255.2018.04.17.07.49.30; Tue, 17 Apr 2018 07:49:44 -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 S1753303AbeDQOd5 (ORCPT + 99 others); Tue, 17 Apr 2018 10:33:57 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57044 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753273AbeDQOdy (ORCPT ); Tue, 17 Apr 2018 10:33:54 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3HEStHH089082 for ; Tue, 17 Apr 2018 10:33:54 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hdjb21tjv-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 17 Apr 2018 10:33:53 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Apr 2018 15:33:51 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 17 Apr 2018 15:33:44 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3HEXhei12059118; Tue, 17 Apr 2018 14:33:43 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7484CA4053; Tue, 17 Apr 2018 15:25:52 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4F31DA4055; Tue, 17 Apr 2018 15:25:50 +0100 (BST) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.145.171.143]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 17 Apr 2018 15:25:50 +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 , benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, sergey.senozhatsky.work@gmail.com, Daniel Jordan , David Rientjes , Jerome Glisse , Ganesh Mahendran Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, khandual@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 v10 03/25] powerpc/mm: set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Tue, 17 Apr 2018 16:33:09 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523975611-15978-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1523975611-15978-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18041714-0008-0000-0000-000004EC505E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041714-0009-0000-0000-00001E805521 Message-Id: <1523975611-15978-4-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-17_07:,, 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-1804170131 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 for BOOK3S_64. This enables the Speculative Page Fault handler. Support is only provide for BOOK3S_64 currently because: - require CONFIG_PPC_STD_MMU because checks done in set_access_flags_filter() - require BOOK3S because we can't support for book3e_hugetlb_preload() called by update_mmu_cache() Cc: Michael Ellerman Signed-off-by: Laurent Dufour --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index c32a181a7cbb..21ef887da7a3 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -233,6 +233,7 @@ config PPC select OLD_SIGACTION if PPC32 select OLD_SIGSUSPEND select SPARSE_IRQ + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT if PPC_BOOK3S_64 select SYSCTL_EXCEPTION_TRACE select VIRT_TO_BUS if !PPC64 # -- 2.7.4