Received: by 10.213.65.68 with SMTP id h4csp505770imn; Tue, 13 Mar 2018 11:10:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELso6Z/2yIuJuULyR0KagqBs1fkxLX27bRi5Uka9LNbW3OkVHhR1Swt+qJaCk8pJCDZVKsMe X-Received: by 10.101.101.10 with SMTP id x10mr1219821pgv.223.1520964616228; Tue, 13 Mar 2018 11:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520964616; cv=none; d=google.com; s=arc-20160816; b=JkSBKQXYAlRPfP4py+hS4wUG/oXG5qw5SNLl6QDxgyDqW5lt3r/y4l4Zn4cp1NlfCi ZVi087cSadStqbQOvB4Z4o2cEVSnlt/QXQ/3OeX6c4mdMH+oZAgSo7chOts/dsv9YOM2 xEDmgw/yAsxb/KBKWHi+tR3IcjIeyPNguhKOi5P/WLxPyR90pM8dkXxRu91FxJkzo+Tr goSOS6zY4vK/8fuS2IEsf5NmVuW6HjWB1t9YITO9I5vUaUrYc5ryJ27lNfMJi0M+Yuai 8g9LGxE/YLelGbOxalKYUK2P40QlvJgmnRNXwgNLDWbTXxkhiVrwYPhNLDOSxTNoDUvM oP2Q== 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=e7L9YhrOHp6Nqhu9f2G5DOv8hk1++iqSGmVYYIv8HuXVClx/6fs7mAtgx02ZDX+BiW mmwCiWbB6XgJfpWRUABWJJkwX4q1j8hB1e15B/hYfzG3jkUJRY8FXc57IkQGJj+haK+I OvvQDFeCTHS36tgqlninqRhon/mUAtebF3oNrqRHnXpNs+8kSpYsY3+M4kfb/WMlx61k fQePwlLLGJETVBmAy1jzkNyta5/VX0XB2upr8eIHv+h3Kladxkl6r4NgmnJNAhgzkp6t XGMI+6YiklUCCI8yNufYRvmJXTryhwfqV+gFh2N+2JSuQzdKJXch+SIslrZeKAkqIBmA FSsg== 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 a5-v6si481278pll.348.2018.03.13.11.10.01; Tue, 13 Mar 2018 11:10:16 -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 S1752965AbeCMSJK (ORCPT + 99 others); Tue, 13 Mar 2018 14:09:10 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60324 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752211AbeCMSAP (ORCPT ); Tue, 13 Mar 2018 14:00:15 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2DHsp0J034262 for ; Tue, 13 Mar 2018 14:00:13 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gpjjraggb-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 13 Mar 2018 14:00:13 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 13 Mar 2018 18:00:10 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 13 Mar 2018 18:00:03 -0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2DI035L60620910; Tue, 13 Mar 2018 18:00:03 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E5D3242042; Tue, 13 Mar 2018 17:52:18 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CCEE042047; Tue, 13 Mar 2018 17:52:17 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 13 Mar 2018 17:52:17 +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 v9 03/24] powerpc/mm: Define CONFIG_SPECULATIVE_PAGE_FAULT Date: Tue, 13 Mar 2018 18:59:33 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18031318-0040-0000-0000-0000042001E8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031318-0041-0000-0000-0000262301C5 Message-Id: <1520963994-28477-4-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-13_08:,, 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-1803130203 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