From patchwork Wed May 2 07:54:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mahendran Ganesh X-Patchwork-Id: 10375179 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 1DE3060384 for ; Wed, 2 May 2018 07:54:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13A7528D97 for ; Wed, 2 May 2018 07:54:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0783428DB0; Wed, 2 May 2018 07:54:52 +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 5B97C28D97 for ; Wed, 2 May 2018 07:54:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 63B1A6B0007; Wed, 2 May 2018 03:54:50 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5EB6C6B0008; Wed, 2 May 2018 03:54:50 -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 4B2FB6B0009; Wed, 2 May 2018 03:54:50 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg0-f71.google.com (mail-pg0-f71.google.com [74.125.83.71]) by kanga.kvack.org (Postfix) with ESMTP id 05D6C6B0007 for ; Wed, 2 May 2018 03:54:50 -0400 (EDT) Received: by mail-pg0-f71.google.com with SMTP id s7-v6so9698175pgp.15 for ; Wed, 02 May 2018 00:54:49 -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=ZpokV8Fr0rMz6dJ+oTeQAgRwWQCkq8734pbJbOhCMJnhYM/XzlaNVo9Yuodycom/7p 1LgCWa5sho35XcT+wH4gcoCq/bVngKDvWNZr3msOAFhyPgRNEe/+QlWU34BJyIKdGWnc tQIWg/h3HcBGm/Hbl8MDap5xvwMTvyocoRY8h+PAg/AZJTOJp0xhwz8sJ5E5ZPaHk/zF haKeASMfp6MPZ4eAEBg3Ryd3XmWrHLpji0DLgbnHyQaNF/Zqx1ECTeQj3ITJFaJMxB+L dIDm/wyZLufe5Vk0CFVNgnEKQB/ezqgfzmrkG29fOU0eFW1GnEd1wEmoffx66ur/ZjFQ +fnA== X-Gm-Message-State: ALQs6tB9BY3FfCT8dhzdK9ryNfvaiUsXWfifxakhL94gXAetj9ycnzYS A/TByK5a8m0ivgEHYxEq7hYAUKiwNAr5cH4ykQAk7WlxGxwh9uBVz4TQ97GANFo5QUVg8NY4i4G qqLIyhLPsQRiiVToncEO5MPOs9xZuwuVAc1RSxsBqaPX93nmPeWxIrskBcTKS/1kJlj4brMnmVR zWjkTFwLUNftNp+eytKR3l2Qnagy1jlhnx5pKnauJ1hZxKAh5t8ZlYAI5HuQmQqXeRSgckF2ZIx tt7y4ASXG506Pzk5JpTDK42ErVffQNv0zSjjjpTx/GoCkI5ymNUYR/jxN3d066DxbA8BOCVPLoA PZ7qZLqW14387Whr1/OnNnXcIe1rtJwEUEzvms2E9HF2YT3oVCKmpOGTwpEG8/UVoG/aPSeihGi 1 X-Received: by 10.98.14.198 with SMTP id 67mr18394753pfo.36.1525247689733; Wed, 02 May 2018 00:54:49 -0700 (PDT) X-Received: by 10.98.14.198 with SMTP id 67mr18394716pfo.36.1525247689006; Wed, 02 May 2018 00:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525247688; cv=none; d=google.com; s=arc-20160816; b=pYJtMDc1e3g/rW3NaM3BYefX3hswl41+J740H1XtUZKqY9veotbc3pDtqeYD8OC6BV G1zN4++QDxZQpx8kaMOm2y12moQASgFyUiRTPOqZRVlMHjrdfNPw5u9kRXWYF/vZmhM+ 49cdkgyreHDIJaKIfZSpxwQXYxWZXNn1Dy5n73HLljPghTWgEioZXnewkAFfFOR+ZirD KbL9PjfbHMuUoABWIKkTZYSXxu9+fB1+nmA1V59z+7e4AN3+GkhgxaPRjUlfbr5R5hqK XsjsBqml4oDORvgab1yItKbMPt5ZiZPyFfJHsC20T/72zzTnJFkOtYEzYLLYajjOdaqO DvlA== 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=rQ8C3NdJepvfW6l+OX/1AV3HFN6k/F4JwtxK8bV5x/y+6KLksav7sSvQWan1TNBP1C HbIMfIqs9RRJuJajNCeYpRH/7785J+tgGes3qSRsFFRp0fMp/FlMBTcF9luXTd92W8Yb HE74x10EuRs1PdAd9Lb/n5ljSrzNJf05KlDYplnukIpkEUGgQ7GE5Kd7NSmKHOazHLm8 xG3EtiNA99FmCTuWXJS7ISRD9YR0KulSmtEMsQCwSkelthhXB0DTNWfH2Z+JZqASK0p3 LHzfFeyPYX3EKPBruxpPQAShQ9vhsMI/YCuc6QnZizaKoyuC6cC/X41+kSJlYz3wNA0D FgFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V9sn0FUR; 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 m11-v6sor2340503pgs.328.2018.05.02.00.54.48 for (Google Transport Security); Wed, 02 May 2018 00:54:48 -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=V9sn0FUR; 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=V9sn0FURvgg8FMnxkk+jhGnu1vibsGEgWhfuBn3NDW4PY8HBqk8vxr9J7L9sU7HHiB CJQmN5cNDhVyEkZJcuvOj0nAqfPuzgNoN0m9svQvQL+MZQPxiN5XXczkA7kcSot52IuP tK5C+KnnwiTBqy27+lXPPmZJYXpybEO7gTqcz4DCzcbcHQOuxYUvtr2P2d3hdwZJKAo4 SvS+mHYqU+UYps8rmWka0LlwVWfVgKhg+Nm9NhF4jo/2sn9Ke17epB3KjEg+m31ZA4Mv 7CGfkAIbhZ8Q9YJFerWMVIJRZG+7/JZhlTWy4oPESvBkhcTAmpKpov1aU1WXTnTFwmZc 3+Rw== X-Google-Smtp-Source: AB8JxZqdydkLPwZ8BOYaWvtB3/NEClO35KMro3JaRXjAM90MAfCX/onaceNCFFYqYTUD2R2t/bkfCA== X-Received: by 2002:a63:18c:: with SMTP id 134-v6mr1563963pgb.138.1525247688775; Wed, 02 May 2018 00:54:48 -0700 (PDT) Received: from localhost (outboundhk.mxmail.xiaomi.com. [207.226.244.123]) by smtp.gmail.com with ESMTPSA id y7-v6sm17574254pgr.26.2018.05.02.00.54.47 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 02 May 2018 00:54:48 -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:54:31 +0800 Message-Id: <1525247672-2165-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.