Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3253991yba; Tue, 16 Apr 2019 07:44:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxIJV5+ZY/bQPpo8XRm3+Gna3lVE7knZYM3gat3RFjJSBQ9L+Hl8jKu6MmyC8Og2A/S8YD X-Received: by 2002:aa7:8c86:: with SMTP id p6mr84303486pfd.37.1555425867885; Tue, 16 Apr 2019 07:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555425867; cv=none; d=google.com; s=arc-20160816; b=MACiVKD54auh+vvbm4iDbG/v9IwrQKP+lWStQdq9aO/QHheVrOe74w9H7wGtfiX7JH NwKnlWUnaEuYvaGj8OFDxqZcOd8233tLtvhZ55HgLnHDWA38w5DBUg+UoH0QMffRpNT1 kPXL4koqIhr0OlzVZBbpu3ZtF/2D5TjLupMe4D2I39QOgmMmCEqLr+kJSdTt3hwbStQP WTy2WJlkqGx+V5ytdc9JQZ003SDpB/vwt//zTj4VFfB1xLbDfzJoYvtKrJ0OpUhTDQv/ OEq2TZblxdQlaFNJaJIWbNBjLJJz1Kfh4qAFKWHbjbQ5IJ3RWNsD+syyMYcLC1dOcnLm sK9g== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=CxdsewtR/DFtr6SMDixgk+HeGf5UD/IZwNl3RgmliRg=; b=GAdFfeKuiVNzHSGL298AF8xwCtP11/GEvsZozHRehlhPs7lYt62D2Jtj4Jy5jugwWr DhTSS8AuvS3gQHysjso/3B5sotGvEVYNckvlVpbNIubGWLs+bc91RI2HgR9goUiBtMdm JaT8NsBxI96dkwrlOreXha4yVd4tnOV9rvbDdtnl2K/9cwAEccnVB0F11G4mdWSs09ae OAmGx8r54pbyyiyBab1L1pHgwyheQPYwIjtqXotC5sjRItwEEwQlbd8vr1bELG6YoqB6 b2uiu23o8NpH7kMk5+LkWGqEuJ2vsubcKH4JTxIIGnAxs65J8q5h+G3b/7HFYtdxKPKy sP3Q== 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 13si29793305pgz.9.2019.04.16.07.44.11; Tue, 16 Apr 2019 07:44:27 -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 S1729625AbfDPOmG (ORCPT + 99 others); Tue, 16 Apr 2019 10:42:06 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:56820 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbfDPOmG (ORCPT ); Tue, 16 Apr 2019 10:42:06 -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 AEB1780D; Tue, 16 Apr 2019 07:42:05 -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 EFAB83F59C; Tue, 16 Apr 2019 07:41:58 -0700 (PDT) Date: Tue, 16 Apr 2019 15:41:56 +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: <20190416144156.GB54708@lakrids.cambridge.arm.com> References: <20190416134522.17540-1-ldufour@linux.ibm.com> <20190416134522.17540-5-ldufour@linux.ibm.com> <20190416142710.GA54515@lakrids.cambridge.arm.com> <4ef9ff4b-2230-0644-2254-c1de22d41e6c@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ef9ff4b-2230-0644-2254-c1de22d41e6c@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 04:31:27PM +0200, Laurent Dufour wrote: > Le 16/04/2019 à 16:27, Mark Rutland a écrit : > > 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. > > You're right, I missed that... > > > 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? > > Andrew was recommended this a long time ago for bisection purpose. This > allows to build the code with CONFIG_SPECULATIVE_PAGE_FAULT before the code > that trigger the spf handler is added to the per architecture's code. Ok. I think it would be worth noting that in the commit message, to avoid anyone else asking the same question. :) Thanks, Mark.