Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3145068imm; Thu, 17 May 2018 04:15:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrtNOpzf16BVUGVkS1J2yveqllXEUsie0zyli9Az+BjNJv1s0BKiZA282HuXDdn6KWfeD9E X-Received: by 2002:a62:3b18:: with SMTP id i24-v6mr4735196pfa.246.1526555711099; Thu, 17 May 2018 04:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526555711; cv=none; d=google.com; s=arc-20160816; b=xhn6Sket3lGpBMHL415W7BozaqZAED59Lnlg1xi6nf/h2j+VeVqYOUvoxgvv5zCXEu sbd1qTcsemX7HpSDF8eA4pPy3UvNyJT9UIPDelKhdwsR4wO9+wiK4uyPTArAAP3xfAHn ov/b+mNeW1FHPjT6uXadDbRsmJqjv/XbCDb07/sZ3Ws3owdfXoxl4XeTYNtPeYghTM0g ImMpCJciPs5JoTVVaLSdQJpPr35OPgw31egBHQ5XvW+uHp7PNQLuZ94//KqQCTllWuQL Mv3cLBxeGVDN38DDD0DoMQdCWyew7vNWNjSucgbOECFUfMDmLp4lBvn7daPciBvA5t92 zxRQ== 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=kxS7H2iBpeynIoIJWoPbaX/szr/fQ53+L64aBqDIIIk=; b=cvCE9tCDPANMrz05KpDYlrwkVxd1+CuXaTsQn1p3OUnBNb74nU1shp+T/jD9yi1uL6 KZ/3UF2DuXBECwadHK9ZCjJE9kJISBtnN9eXNc6pQRKzQGAl43GUDwLeW3Dbs9iPbvtP XA9XiNB9Wql9sBvZoJGEGmYzMAX5E0emB8Ct4eH9eaPSU/rUJlAr+a8hjA8VXOdcFfNw 0gY3hLNKvysKF4+6xboNV13CiHXiYtd56SrrLzYbqaDDpCkzf6IHDqMocO3WO0eP//5P NTUCnC/e45HloqEAJywl500XiQpoV+FzzPhpf9cKzwsSiFSug57OSseOmGk+F4xzEWOw L3Fg== 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 s5-v6si2199247pgp.123.2018.05.17.04.14.56; Thu, 17 May 2018 04:15:11 -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 S1752501AbeEQLM2 (ORCPT + 99 others); Thu, 17 May 2018 07:12:28 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36166 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751858AbeEQLGy (ORCPT ); Thu, 17 May 2018 07:06:54 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4HB58nG127246 for ; Thu, 17 May 2018 07:06:54 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2j17v0t0wa-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 17 May 2018 07:06:53 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 17 May 2018 12:06:51 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 17 May 2018 12:06:42 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4HB6g6J49807456; Thu, 17 May 2018 11:06:42 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5E1F4C044; Thu, 17 May 2018 11:58:30 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8D3844C052; Thu, 17 May 2018 11:58:29 +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:29 +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 03/26] powerpc/mm: set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Thu, 17 May 2018 13:06:10 +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-0040-0000-0000-0000045A6DBD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051711-0041-0000-0000-000020FEA536 Message-Id: <1526555193-7242-4-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 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 be7aca467692..75f71b963630 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -232,6 +232,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