Received: by 10.223.185.116 with SMTP id b49csp1037728wrg; Fri, 16 Feb 2018 11:15:09 -0800 (PST) X-Google-Smtp-Source: AH8x226JKMgl60TvDlIqqW8hm+zWYaxRZdjt3G1C6oqG1rXLDj2o6gQSJKbYnSwAiwgl/5m8E+EW X-Received: by 10.167.128.143 with SMTP id v15mr1660933pff.36.1518808509086; Fri, 16 Feb 2018 11:15:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808509; cv=none; d=google.com; s=arc-20160816; b=amFiEhOGrObpR9D0parhKTmMxaIbDnYhFzGZ5dXMiycybTnikDIHoZOSqTj+R3FOlc BpdKcuBEC5D87B0489Cn6bk/7ci1Nu2AfHvbQFJsozWhSwy1b1oOIh0/IHxsk57abOz5 eNn9sKabrECFet4TpqDCuCE30QyPtVt0REll3T9GZh42wTDRyWl4T411U9R3TXRjIvmq 6C0CNR3+xCPbcfr7TKJ15xwsP3QtP2xKxHioDuoNQi6puAQTJz54FimSaET/tQOWQeG2 aMg9SdkahlaCh2oZ/QyMccST0tM6NeyBeGc73O3qlexOzuggD4UACiuVkLPm+fwihIop O5UA== 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=YrqTMN+2g5p9JfhqX+Ifbw2BKubyDg2GY0hAH4S4/14=; b=lhhxHJR92C5YQtc0DKVr2+HSowKOvSKrjUWmVRLzqmCqFGfhU0B7hy1S/52FBbcxOk NvlnfdZi4IUm3Uqsa5GJUnkxNFpG9p0F5tgdh/oWh8dSmu1sSJN3b2wIqesC8i7MWKTm qu1yuzM/C72IBFdWFJH41kCja/I+Tx7wPwSqFUvEC2lTSx20Cl5R7v8GbG/ZtmBjWzsY 1D0zYJoVaNdsru9kPszjeubB+i/M7yJgXwvxfP/h7DxLvBLBCdQRzpY8v0uLyDLoBkPn 99jU0rLFEN8YKL2vgNwhL8FK+ZeB3gwMvrt2H1Eft8exr+UUkN5UfqZp32+D9ZVlFHKF T5Yg== 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 g6si139692pgq.765.2018.02.16.11.14.54; Fri, 16 Feb 2018 11:15:09 -0800 (PST) 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 S1755170AbeBPP0H (ORCPT + 99 others); Fri, 16 Feb 2018 10:26:07 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:33504 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481AbeBPP0E (ORCPT ); Fri, 16 Feb 2018 10:26:04 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1GFPuwQ056820 for ; Fri, 16 Feb 2018 10:26:03 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g60yq2rhk-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Feb 2018 10:26:02 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Feb 2018 15:25:59 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 16 Feb 2018 15:25:52 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1GFPpcR60882946; Fri, 16 Feb 2018 15:25:51 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBA4442042; Fri, 16 Feb 2018 15:18:35 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2A4AC42045; Fri, 16 Feb 2018 15:18:33 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.145.186.2]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 16 Feb 2018 15:18:33 +0000 (GMT) From: Laurent Dufour To: paulmck@linux.vnet.ibm.com, peterz@infradead.org, akpm@linux-foundation.org, kirill@shutemov.name, ak@linux.intel.com, mhocko@kernel.org, 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 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, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v8 03/24] powerpc/mm: Define CONFIG_SPECULATIVE_PAGE_FAULT Date: Fri, 16 Feb 2018 16:25:17 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518794738-4186-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1518794738-4186-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18021615-0020-0000-0000-000003F88142 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021615-0021-0000-0000-0000428C853D Message-Id: <1518794738-4186-4-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-16_06:,, 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-1802160183 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define CONFIG_SPECULATIVE_PAGE_FAULT for BOOK3S_64 and SMP. 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() 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 73ce5dd07642..acf2696a6505 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 SPECULATIVE_PAGE_FAULT if PPC_BOOK3S_64 && SMP select SYSCTL_EXCEPTION_TRACE select VIRT_TO_BUS if !PPC64 # -- 2.7.4