Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3241003yba; Tue, 16 Apr 2019 07:30:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAAGfeixWzuEzx2mLF6w4eXlt4hTgkK9HIKkAzszemXeiU6bZ9CIdWuDuUxeevbaeS/Dor X-Received: by 2002:a65:65c9:: with SMTP id y9mr42844203pgv.47.1555425003606; Tue, 16 Apr 2019 07:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555425003; cv=none; d=google.com; s=arc-20160816; b=GgWwzyIyTRynum+kiflEG5faZHjYK+v/KRYWEHnQWRPuI0eV98F9nqXdwDrxzu6rWf E09QqWB5AJtsll2ZOor6+8MIxC/Xe9fKWCPk3CNz9b+2cKegMjgnipMpiFQ1rRCH2EUG ZeW0Z3ukmuOP5HnYoCtvzHZwnvoVxeeyKHLoYFl8rCYrKrZpDmOyIRdHH3TWGJpiVNT6 /atp1e30C+PkfwsByCPHLBHAZxS93hzQr5Kj1Jxk3+y6KRkSlgHFnXzp1CYiZyuXaF62 VT8WCffYenAR2l1f2h/6c+KW8l2xSWGkU+maHfEheO96cXDB23xn/nqlvbTl9L2MknB3 4T0Q== 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; bh=znezo8poQ7QP48JM1koeEJOw/qPByyMkEOJy/hxeCGI=; b=BrCLZTyE9CiEQelksMq93c7RmhBUHrmetbgL3aRUHUeZ1M45pHfsSwNjJbRSvuQMpu QwtCwUCf7CPymQUMjIMTbZgNR8u0ldKhBCr1Eh7B7avZCQbmxoxINY/JUR3fUynY8+YL b5YdZrQ5k7tZqz7tDAXKlVmGjM/hJmCOpPOWZfT34i68NOMjtfQ6gPNWWCNIA856sNEW s4woCesWN7DCPbDkZTwEVjBqJjEdKftzgOjPxYtaJRt6OvM/DHXjpZvgcGwq4tBpGe+R QZ/QDTl25dt2aqZysB8KL0eHvuxF1a38N2BH2vSadYXZ05DmEPAsd0a1bu8XeOVSWN1v zyng== 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 e6si47856586pgb.435.2019.04.16.07.29.47; Tue, 16 Apr 2019 07:30:03 -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 S1729566AbfDPO1Y (ORCPT + 99 others); Tue, 16 Apr 2019 10:27:24 -0400 Received: from foss.arm.com ([217.140.101.70]:56444 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbfDPO1Y (ORCPT ); Tue, 16 Apr 2019 10:27:24 -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 D695EEBD; Tue, 16 Apr 2019 07:27:23 -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 24F113F59C; Tue, 16 Apr 2019 07:27:17 -0700 (PDT) Date: Tue, 16 Apr 2019 15:27:10 +0100 From: Mark Rutland To: Laurent Dufour Cc: 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 , aneesh.kumar@linux.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 , zhong jiang , Haiyan Song , Balbir Singh , sj38.park@gmail.com, Michel Lespinasse , Mike Rapoport , linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v12 04/31] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Message-ID: <20190416142710.GA54515@lakrids.cambridge.arm.com> References: <20190416134522.17540-1-ldufour@linux.ibm.com> <20190416134522.17540-5-ldufour@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416134522.17540-5-ldufour@linux.ibm.com> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 16, 2019 at 03:44:55PM +0200, Laurent Dufour wrote: > From: Mahendran Ganesh > > Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This > enables Speculative Page Fault handler. > > Signed-off-by: Ganesh Mahendran This is missing your S-o-B. The first patch noted that the ARCH_SUPPORTS_* option was there because the arch code had to make an explicit call to try to handle the fault speculatively, but that isn't addeed until patch 30. Why is this separate from that code? Thanks, Mark. > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 870ef86a64ed..8e86934d598b 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -174,6 +174,7 @@ config ARM64 > select SWIOTLB > select SYSCTL_EXCEPTION_TRACE > select THREAD_INFO_IN_TASK > + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT > help > ARM 64-bit (AArch64) Linux support. > > -- > 2.21.0 >