Received: by 10.192.165.148 with SMTP id m20csp495428imm; Wed, 2 May 2018 04:06:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoY1untkrQjCAaLESXqgYzlBGve9nC6ApE7VuUGszm6mZQFPcfIfvc6TvjZN8Ep6dtt9QZV X-Received: by 2002:a65:4301:: with SMTP id j1-v6mr6092193pgq.356.1525259159980; Wed, 02 May 2018 04:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525259159; cv=none; d=google.com; s=arc-20160816; b=IlJpHCEnCJlKM+SzhumzLuO32CHSP84KbPq4lnpb5rJ/VlNmXolFJk2omVsqb8QU7X eAQtDWJyaneLfqDkSyf1CDGIrcSYR1lRupU0dsAGgSZygoavwuPjbHtL4Gqep1fO9cOY q4KEz4UQZNiPKT6uLABJuwHw6R+htzHQ2VBMnQlSfVqoGAs3ymocOUxrkgGjdPmTFpBN l0xwOYJnvO6xLAvix+1gK4jakQPaCt6S0E8yVtRcCx/hDzaUvEMsVVks1PYmtxVSmJAP 5b4nFyqVU9wCYc6ddiCG8nbw6pWLtbsen10uuziIwteVV2r7OyR9ZXuwzkonldVUVza1 1dWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=kTk1cAJRBr2B81UkgSDe5Iuc9O0sxb4IuBJfaK1J1JA=; b=Tutv+oLCb5R2fkQErr+zHP8zUhu7fZhZ07NwKduwLO3jgpIF6ob6EJimY/Dpzw1V19 NyU1a1GfS2Awdfp7b+MkfefDaSs5mljJ+V3ckkBxDmSpikLnk4ZypqsOWpKWAk251V0e URsKSNEfKXfb/qnuDB2sZgjbogv8JBIwPSfFsoE0AKZ99ZFI9HHzTF1TGzdUClWQKqTE aUxmhG96JWOw7Jz/fUQ1+Eft0zrtN6YU9yIhMmsf83HTK/G43QronsR/opbu96vF0ahi oB/aGy7bXYtii1WKlYiHqiW+ZHH7sJeti7x2J8TUnSK53YwN/Vbt/Ds6wek99N0EaW/b mPxA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y185-v6si9336577pgd.316.2018.05.02.04.05.46; Wed, 02 May 2018 04:05:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751394AbeEBLFc (ORCPT + 99 others); Wed, 2 May 2018 07:05:32 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbeEBLFb (ORCPT ); Wed, 2 May 2018 07:05:31 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 15F621435; Wed, 2 May 2018 04:05:31 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B54E03F487; Wed, 2 May 2018 04:05:29 -0700 (PDT) Date: Wed, 2 May 2018 12:05:20 +0100 From: Mark Rutland To: Laurent Dufour Cc: Ganesh Mahendran , catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Message-ID: <20180502110441.xuvjs7gu5xir6y72@lakrids.cambridge.arm.com> References: <1525247672-2165-1-git-send-email-opensource.ganesh@gmail.com> <15c56137-e7c4-dbfa-ce5d-f5feeea79e98@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15c56137-e7c4-dbfa-ce5d-f5feeea79e98@linux.vnet.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 02, 2018 at 11:00:55AM +0200, Laurent Dufour wrote: > 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. Additionally, since commit: 4b3dc9679cf77933 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs") ... arm64 is always SMP. Thanks, Mark.