Received: by 10.192.165.148 with SMTP id m20csp391096imm; Wed, 2 May 2018 02:01:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpazDwgkGIVcyZXRPTbz9n4XauGJOoMdq999D33x+sBmDffDPBNhr82gl6lsNcKmDyy70LG X-Received: by 2002:a17:902:6113:: with SMTP id t19-v6mr18841053plj.372.1525251693408; Wed, 02 May 2018 02:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525251693; cv=none; d=google.com; s=arc-20160816; b=EqktyvvPhNqRFyyotdSaGgEf6DkKK0x9UzJpuqXdqk/rT8XvgcJn/zst7LkDiPuqlk 96qHwTzPkQFL/M2vuRIaJ9SjhxB+0i59cBiyX0xajJDR1L1ragFv10pPXIAmlCUbD2xu 8P+Gc92RBlJN6gACzBDYng68NWmleIHcfx6VnOH0wAKc+yzOLkh8oMCNq42ky62C3opl z6erxslxVPUMNybpZFbBKhdJvFjae82Lmz3a/RyJ6PWfkTTbjuUEoNNx104D6CLPMVgd DGjPmgPbvp4/sS2VrPbxz0FURdAgATlQASiik/+/dh77GF29g43Mw1Jekkf6La1hUZRL Zang== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=IMsCYgSz5mQZpt8PgahGPQZ6O6gUlp4wJSR3kn8+eBo=; b=pvSGJnVdu71bxifp1tv4Ppea0j3RQzkPuHYGQUTMnONB9MVh8CADFesoRHYEduIYVO KJCGQb3Mx8lVaKMX2bTpCHjelWfGk3yM0GVX9B2BXw2bVnQHBeKVByqI63d+D8sOx7hZ EvNi+lzeu1EgFRIv3uHW8xnPMUVkmYhRWOsK5DaDWJshLSbr+ZEyTKArqzPzxhoTzyBf 5l8sthhMLE6j8ET6ME1/yrpxkt4MkLV0PxsCx/u69mLm3kaHZ3NbKwekQm6pc+JqHIk6 Omh97tsMz+gypZet7TWkf8t29trL12y/2Vl0qk226DvQErJCjnzVTMgeo+WebU+1VSwc 1sZA== 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 v40-v6si11269190plg.84.2018.05.02.02.01.19; Wed, 02 May 2018 02:01:33 -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 S1751054AbeEBJBF (ORCPT + 99 others); Wed, 2 May 2018 05:01:05 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44044 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750895AbeEBJBD (ORCPT ); Wed, 2 May 2018 05:01:03 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w428VAc2111861 for ; Wed, 2 May 2018 05:01:02 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hq9w191ef-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 02 May 2018 05:01:01 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 May 2018 10:00:59 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 2 May 2018 10:00:56 +0100 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 w4290uGv15270370; Wed, 2 May 2018 09:00:56 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47D884204F; Wed, 2 May 2018 09:52:08 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C96E042041; Wed, 2 May 2018 09:52:07 +0100 (BST) Received: from [9.145.16.142] (unknown [9.145.16.142]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 2 May 2018 09:52:07 +0100 (BST) Subject: Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT To: Ganesh Mahendran , catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <1525247672-2165-1-git-send-email-opensource.ganesh@gmail.com> From: Laurent Dufour Date: Wed, 2 May 2018 11:00:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1525247672-2165-1-git-send-email-opensource.ganesh@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18050209-0012-0000-0000-000005D10C23 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18050209-0013-0000-0000-0000194E2B8C Message-Id: <15c56137-e7c4-dbfa-ce5d-f5feeea79e98@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-02_03:,, 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-1805020074 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/05/2018 09:54, Ganesh Mahendran wrote: > Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This > enables Speculative Page Fault handler. > > Signed-off-by: Ganesh Mahendran > --- > This patch is on top of Laurent's v10 spf > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index eb2cf49..cd583a9 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -144,6 +144,7 @@ config ARM64 > select SPARSE_IRQ > select SYSCTL_EXCEPTION_TRACE > select THREAD_INFO_IN_TASK > + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT if SMP There is no need to depend on SMP here as the upper CONFIG_SPECULATIVE_PAGE_FAULT is depending on SMP. > help > ARM 64-bit (AArch64) Linux support. >