Received: by 10.192.165.148 with SMTP id m20csp394371imm; Thu, 3 May 2018 23:07:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZom3jqIGFZa6JnpRSOFMVYKFfo13HPfGosRgnZXjUianYbXbWWvB9x2A/nqiI7XBaACmlDI X-Received: by 2002:a63:316:: with SMTP id 22-v6mr20856588pgd.277.1525414042805; Thu, 03 May 2018 23:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525414042; cv=none; d=google.com; s=arc-20160816; b=eZM4uHNwEsjlmeuHTWUuEwkOFnAqJhqDyjFOvrm/EmReH9Wt2JqDkbS31BMfdGXRI/ 9S/F4GL5kjzjDo6Ic7H3IPhI4fPpizzimWHcmDrkp7j+9tcoTzZWJO7CnbzPnsHtxDV3 4DqVPaTQ3Sn/OFUDC+ZOV6qeE2dumqxruRijA2w4q/kl8pcttnu52YbrnyBeoEpaxguQ 5xOKcritlq+U7XQuG9tpfxv3eXtRqI1WmSWwAm1jEhWfx9qKMwhuVxpbcbEdz4L5V6Jy s3BfMn8itxKBeX+des0qgAV3IBo1mg8jufMCU0effJmJbLXpip8oorB216EblG/6/NVv 2msA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=8zYfRXPhL5v+68qrrdT3QKvZWlC6R4gT52DzqOcYWYk=; b=Saq2sp1ey/geQgFAEvMAdKxedUfeYFmtH5c3NYgQYsvruIbvwMnZbiOiEv5zm1KDJt 6fm2Zey2bNfQUgkA7UA2Mxms4K9F38AuTPXMnLzkyh3KxC7p8LI7SBfvBGraIeIT/iDY 7+J9iIDjtOaUGk9pF8RZ0c953e0AuCsNDPRj1HZbvxLGdwMVKpT2yiO7+u3Nyp9YgZ1X kt24Yb/Ut9RdYJzy/HPhlj53g+6eFEV18sOuTqq3eww16+tBcbsEX26Bj85g2LBMeKaI YRfZYsRDnrYPXjneGyOwLDg2Z4W0frwqTLpbK7N1U+TtKC/L9g5E+QkiAr+G3KoDna4D Dt/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KsZ0YdY9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21-v6si14517712pll.460.2018.05.03.23.07.08; Thu, 03 May 2018 23:07:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KsZ0YdY9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751782AbeEDGFT (ORCPT + 99 others); Fri, 4 May 2018 02:05:19 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:38115 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbeEDGFH (ORCPT ); Fri, 4 May 2018 02:05:07 -0400 Received: by mail-it0-f67.google.com with SMTP id q4-v6so2104089ite.3 for ; Thu, 03 May 2018 23:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8zYfRXPhL5v+68qrrdT3QKvZWlC6R4gT52DzqOcYWYk=; b=KsZ0YdY9VnbWl3w4emX55dm4+iPlccEVa6QFxCJamZSJPjqmSaV+c/tAQ7MHlqS919 a1nn2vSThKP/OrAl+Cmal9FL0SMOba+R8KR7pD2VUnUiwYf4oLoiyOFGMCOxvAqZWRoU 8vTgZah2oRnhmQcaVilywVXLOniSU6fZMYCdg9eCXY1yirjv8Lr3q+P0rC+7GBPNtSzN b6YW0i/5OaDGa8lEXSOb/9Wy1xa7xirx5aTF3TKi5kg55Xhp/hD6LlwUKPB76Xx/iCir J1ton22vGopcYqSelR+0JCk4BP+05pe58LwV+w07XrZtw8WFL0WeWwkDrMrkwHoOJ0V1 N4uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8zYfRXPhL5v+68qrrdT3QKvZWlC6R4gT52DzqOcYWYk=; b=m+28y+VDRD0QhUJ4BA0MidcAptKBh5z/8oK97XdG6VE8BpXdyzGOsOKyDllw4NpTxK ePQZ9IYiPhQzYgesFg5ID4WO72MVviokfx0fP9jzwKOpJlLHACWOxiEWf6acP/zQx0G6 k1dCrjEO20ZgFHuJeOA6/bImfivzizdBJQtyyT0V+tUZCaO5bSI3v32+1KyVVxcHOIRx +Xj/fhUI4cGbf5kA1/NhCz2gnK6oRN/sANZX/X+MS+CCmyFYWN7SA98XR/lCGiKbguIE u1EgLs44i+ifK/O/uPuxI98eS2QPSsSnMxamskXyKOC2+ndhhw0NBObFCvgvW8Ka+hgJ V7Pg== X-Gm-Message-State: ALQs6tB1UHbsrOfDEqtu3qXW7EbvsFseRr8vKLcjofuNkYu704VQTl5+ 4aix6FL0sLzUaMhzgnspYLVrdtZ4ktrZuBG49WA= X-Received: by 2002:a24:4522:: with SMTP id y34-v6mr29307654ita.74.1525413906790; Thu, 03 May 2018 23:05:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.140.23 with HTTP; Thu, 3 May 2018 23:05:06 -0700 (PDT) In-Reply-To: <20180502122314.GB30246@arm.com> References: <1525247602-1565-1-git-send-email-opensource.ganesh@gmail.com> <20180502122314.GB30246@arm.com> From: Ganesh Mahendran Date: Fri, 4 May 2018 14:05:06 +0800 Message-ID: Subject: Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT To: Will Deacon Cc: Laurent Dufour , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel , Linux-MM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-02 20:23 GMT+08:00 Will Deacon : > On Wed, May 02, 2018 at 03:53:21PM +0800, Ganesh Mahendran wrote: >> Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This >> enables Speculative Page Fault handler. > > Are there are tests for this? I'm really nervous about enabling it... Hi, Will I test the arm64 spf on Qcom SDM845 cpu with kernel 4.9. It looks good for performance, and have not found stability issue yet. Thanks. > > Will > >> >> 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 >> help >> ARM 64-bit (AArch64) Linux support. >> >> -- >> 1.9.1 >>