From patchwork Wed May 2 07:53:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mahendran Ganesh X-Patchwork-Id: 10375171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F389F60384 for ; Wed, 2 May 2018 07:54:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E747928DAD for ; Wed, 2 May 2018 07:54:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBD3E28DB2; Wed, 2 May 2018 07:54:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D86628DAD for ; Wed, 2 May 2018 07:54:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9E65D6B0005; Wed, 2 May 2018 03:54:04 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 995456B0006; Wed, 2 May 2018 03:54:04 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 85BF46B0007; Wed, 2 May 2018 03:54:04 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id 44A696B0005 for ; Wed, 2 May 2018 03:54:04 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id e18-v6so6554420pgt.3 for ; Wed, 02 May 2018 00:54:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id; bh=NgwKH5LjGR15OgqQ/v2AMg6k8uCK9yPEfVtp4UpDEpA=; b=oHSodyGKBEcfsKDP8BiYBC+KcIh5i8FZCC8Ow2Aa60mfr16iywLtEmmMDHQ71Y7Qqc sPOFFMmbBX4c4JQ46Xa89w1a0yg5dQcUaHe0v6O5muuxGQ/jVatED5mYxxFlCZqddPmr 84s6gdffElSOR/vz57D/B3XmUnqUkQCKRytF/dy5tZeJbHIcp3bmcrzW8sokafEWwTW2 EMdiG1W+Rt0rs3VAX8G0yTdz2nnnfNbLrj5LDDskwDLSP2n1zape8zj5DBEAErfsM0F1 Qh6FwsrnhP0sb+iXFnFp1UlHCwas2ev0DEz7tEoNaA06LwvhpTgcxmfACJ8JQco6C4Ct W7aQ== X-Gm-Message-State: ALQs6tB6KvQXqmoFny7ilEPfHgK/5vj+Qv9nlO3KijAYT4EkWQwp9g/+ l1/N4QPk0DVBkQBuGiRQITJlUXtDmn8oP418zS7z43UJYR6Oj8bm/XUsPPsMpEA0LRLJBusLtRU ZfPZBwFAVKiUFYIN0K7RDyxYC3Efuo3cYM2kJ7enIJXZCzUsMF1osYdNjdGXDLS5Md9JlmwV2R+ /fLPnxck1kx6+7ucsZy0bDrj57XGE1uGlJ/o7wkp4pVjj712TnQW5/OHYkJxvp9y2w6m4ogETmm WbBmtoWsyV2pNv3Gvg9uRYUbB/sEr6ZgSRHuCl1rrNSqtk4+8lv5jOispHI9rfmZ8xUCzTRzDLh 1o1cYxVYP6UU1gDfMLE+1hRJoscfrfNQYKlLqK9FHX3vl5XfaRaftgJsCIGloRZ2EexjejfPohk m X-Received: by 2002:a63:b70b:: with SMTP id t11-v6mr14882688pgf.193.1525247643743; Wed, 02 May 2018 00:54:03 -0700 (PDT) X-Received: by 2002:a63:b70b:: with SMTP id t11-v6mr14882664pgf.193.1525247643074; Wed, 02 May 2018 00:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525247643; cv=none; d=google.com; s=arc-20160816; b=Z3+EpE3Mp8vIdpiaNL6eEnogqvEltZaD2MOrcK2Ky56SPvnYhP8cN1ppkStgNsefXd iAYlHanB5b7J71X2kLVLxSEAYsd3/sok1XFW/PQrbXmSks5BtbAEvrjiJCXxQg/R0uQk 5Z7gY5Hf0KVMKS8K0ZVe9AB0UsrJPDSAfy7IefGkEXeH2O5osnl0PKnJyPc9k5qkh3qU 6N/rWAz9cLR8/NozlFvo2Oqw4kJD001iaP1apUwbvsgURv/wq55ImY0e1sV6ifmc6RCf ns1fxGyziAfxJ6OGD/QLsVlaUCrCfPitcGC0PMIraubSXMBOSZmua/YOw9nHXEle/wBi hkRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=NgwKH5LjGR15OgqQ/v2AMg6k8uCK9yPEfVtp4UpDEpA=; b=g/9LaenTXIJ012O/+hh44hfZfmxCP3riKbHHayvFObD7z0ySqkwhL5Pxz/mIzqXYJF X9u9WjLj2c22DI093z5zMGytY1XMMdXzjw7sawMNMe5d3Aqq/rjNoVYwmaXY2dXWs2P4 7O2oVu6YldmmWaFnD9L5iyxnuMh5cdWGt8cxmFe6EOJomVjOAnMEiwT0jxIwZ5jCnoHZ d3hreleHbvTZM2GUa59fly5fP95CquJNKpj1EZ++5IGu5UHekW5Bs/8gtMo8rqn/AqIW Fx1k+H/hWhL1PLlaY7evdDwbxdsWXHf86Pg8T2bgJAkMW8TmwhO9AeiZtbs1LPpo0ljP GNqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W0ehPSQH; spf=pass (google.com: domain of opensource.ganesh@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=opensource.ganesh@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i6-v6sor1440651pgp.161.2018.05.02.00.54.02 for (Google Transport Security); Wed, 02 May 2018 00:54:03 -0700 (PDT) Received-SPF: pass (google.com: domain of opensource.ganesh@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W0ehPSQH; spf=pass (google.com: domain of opensource.ganesh@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=opensource.ganesh@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NgwKH5LjGR15OgqQ/v2AMg6k8uCK9yPEfVtp4UpDEpA=; b=W0ehPSQHmIJ+FrwXxVpc+QXNmJeXRVGUqbry0/3vN4mb02R1x/gCl6zCDGJtdaFc7I MEd1GmQ7zL6CwfowSCgh8ZuDNPQfCYTBa8OH2qLqP7hlnqBwnghOPMaRkpXznNnidY3B OR9+wOIEeWGBK8rtKpv/FXVAy/suqvJwAsz/pbe0YHXcho3Spvsm/pByJY0ol6ZSNOF9 Ov2oBN0N4y9hLRNjKh7FPB0VG+vGjzlp21tCb6Q4XMBsHM55hKGfFmWfWc1cMlNSxeil 5J2zaFxkZmV/3VZ/G30KD0qtgYcVHQbEsu98+0dbS6+UE665ArtA80rHEsIpgbqq0xSv LLNg== X-Google-Smtp-Source: AB8JxZrFlZriRq75iPXJxjIRjsha3XcX4FClCzU4+142TBCQ8BV3phkMBM/1jS/jXgWeVQ82E4J/bw== X-Received: by 2002:a65:654a:: with SMTP id a10-v6mr10692009pgw.107.1525247642721; Wed, 02 May 2018 00:54:02 -0700 (PDT) Received: from localhost (outboundhk.mxmail.xiaomi.com. [207.226.244.124]) by smtp.gmail.com with ESMTPSA id x2-v6sm13870765pgc.53.2018.05.02.00.54.01 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 02 May 2018 00:54:02 -0700 (PDT) From: Ganesh Mahendran To: ldufour@linux.vnet.ibm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ganesh Mahendran Subject: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Wed, 2 May 2018 15:53:21 +0800 Message-Id: <1525247602-1565-1-git-send-email-opensource.ganesh@gmail.com> X-Mailer: git-send-email 1.9.1 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 help ARM 64-bit (AArch64) Linux support.