From patchwork Fri May 4 06:57:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mahendran Ganesh X-Patchwork-Id: 10380049 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 91A8960353 for ; Fri, 4 May 2018 06:58:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8003528C1D for ; Fri, 4 May 2018 06:58:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 702D628C49; Fri, 4 May 2018 06:58:25 +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 163CF28C1D for ; Fri, 4 May 2018 06:58:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8A7736B000C; Fri, 4 May 2018 02:58:23 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 82CDB6B0010; Fri, 4 May 2018 02:58:23 -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 6CEB76B0011; Fri, 4 May 2018 02:58:23 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id 2A2876B000C for ; Fri, 4 May 2018 02:58:23 -0400 (EDT) Received: by mail-pg0-f69.google.com with SMTP id w3-v6so13301321pgv.17 for ; Thu, 03 May 2018 23:58:23 -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=2CyD7fbvTMC8C8By/886TgWeGeoBZAtDXEKsiPB9BIs=; b=HgDik0vaxvjHySqzOYbiRg2DvCBEh7S8GxCDBXTjg3/DNRe6aHVkMZKqwQOlJc3iD3 rE5wQVQHxu5gzIB/gMv+kqIQ61U/WMPQBk0xuoct/qX5JD79h5lk8352h3qsnME61b1m 3Mq4Kkz7og0FnsJY9emqfihnfONrY0yrT4+JNXCBbA7fHilI09pKJRAqyetscL+9Aye9 g35wiLycRXh1t5w+jQutAqgh+Bj1B5hRVVaQvn15sevboJarLOtRYwAcLfpfnSgcQNGI uY8h+O0akOx0PVQAmUpGuFgDZ/vb/9qtWubcUdfh0wPSjYcXj7TKRDGxUcxbHdhc6IP/ N0qA== X-Gm-Message-State: ALQs6tApCzrHZS7tv540zR2nqjromU2aYyMcryFZcz2gKWa6lNdhE4q7 MDUYUruc2nZvb/BnC9/4f/B13E72Md6VwJwnFsjUq7XkbXrdFIibq4HHsE673TWkZr3dfvxrinn Nu7DV7b+o5hppPP0OyKJJ/cpgP9w/zghjk0IiMjGYzxkCxFEKKvEdpomUpt69YgKUfIMhilmEAR toudoaPNulWh5z9lZd1jGaOWi6jIuMm07yT0UhSZGMWTcqBlxz0LFxmwJslZdOu9E5N3p3gFdbI F7o+RheldL+F2Rqisn83JNBSndlcGimXoLO6aWOPT1jogZ4BE8W8ZYwkkepWKScJq/AkZknLuzg mWeQNeyjUlEDs6HDps4Hjkfyu2grfBGmaw89amwlSvp6rM5viv46YkqpuFxYUaoAAfjHEgm5IZU 3 X-Received: by 2002:a17:902:8546:: with SMTP id d6-v6mr27790812plo.106.1525417102862; Thu, 03 May 2018 23:58:22 -0700 (PDT) X-Received: by 2002:a17:902:8546:: with SMTP id d6-v6mr27790779plo.106.1525417102153; Thu, 03 May 2018 23:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525417102; cv=none; d=google.com; s=arc-20160816; b=KgqmgHJbDG4rNjJ3/UNQ7/IgYWeB9AUNWTzvvha3j3TkAfjI8xT0XdGFqlvKo1LNDt ZU6oXO/+8KVNf9nTd65qkWlspdnpYhtVzWj/DRDRGGjSsW+O+0H4AaTtrc8x+bcAgMzA QkshBXf8YmWQE8b/dO8Qxb25qoDZyiz9UzgW15Fc1az7zOUa9MaEBIaJJqpzUzs+UXU0 YJndUU3+3wlA+/ZDG0QHrPOA62GDZXanLxH7nUG/BOH7DpxS1LfMest9Tk9HKTExSz6V Kc2MJ+b+Ubf+5u2jqmbIACRLzK6VuCrxqBYlePWq2bAStogRUa1OJkR0oquH7ZFUL66B q1Lw== 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=2CyD7fbvTMC8C8By/886TgWeGeoBZAtDXEKsiPB9BIs=; b=SfuDKJjeYOxyjk5MlKemxKF7dll5YsLBg95OgGWIzCq8ahWmj/WP+jCdvJO6U6eG7e dNBio9OyW1RMfcnUWuUu4fYAO3HwVtkyQm5TAwb3TiWNjKw13vMVjK1xKEz0y9dW8ot1 o/kDBQhXp5ek+LHzuGHy5q5gqQJQrjVLXr7KeTls524Ct+7wBS/GALHSPeiy8J1aGiSc O+SUVl0qOU7GYJGZYVIizMKrLLj9sGTLkimf5skuEUZEa8ycNh11ikz5b4lF1oilcCBg f+WDVUA18FxrJtz6IYl2sYILRNvmfRe3JvBheO/jC/cWYqnpdpXS0NyeOZFBR3aS+TXD 0WsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QCmzav1y; 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 c21-v6sor3747032pls.113.2018.05.03.23.58.21 for (Google Transport Security); Thu, 03 May 2018 23:58:22 -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=QCmzav1y; 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=2CyD7fbvTMC8C8By/886TgWeGeoBZAtDXEKsiPB9BIs=; b=QCmzav1yylIOXW8Wk2yuY1nKfBUyfOH+gqJJEvWTPWA4jWS58wuYn7f/5mrjIVVmKg gJ3YWRCiId+Q/pPlwqV1S+D9dJTb+9qpgcbkwTml0xFj3/89NgTx/P4T1bIkX7vi4t5P 09sNp3kWGxp63VkKUkM+gUWs4tJLntJ3hWXVfsa91g6JUtfrumfjiX8UsHoeHf5okEGP Pk8/pb04iu1HMk7nOSxQfr5A7MiUsM5s1e3Cr+Q7PicO0Kz4hChf1d0xO4ukqjiNE40+ 5X/VlrIZ29aBeM9534AsxIRWjiR9ys7VzyMcmAiZPU9zueSu5l3tR89/64c6Qm52UhjZ nUZA== X-Google-Smtp-Source: AB8JxZpO2epBpCPm5Sms8I4xihdcINUL5tT95NpEEopDSLMwKY2HNVbhgX70egI4c/IEwRUc+q1u4Q== X-Received: by 2002:a17:902:4b:: with SMTP id 69-v6mr2786878pla.178.1525417101791; Thu, 03 May 2018 23:58:21 -0700 (PDT) Received: from localhost (outboundhk.mxmail.xiaomi.com. [207.226.244.124]) by smtp.gmail.com with ESMTPSA id p126-v6sm24953601pga.28.2018.05.03.23.58.20 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 03 May 2018 23:58:21 -0700 (PDT) From: Ganesh Mahendran To: ldufour@linux.vnet.ibm.com, catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com, cpandya@codeaurora.org, punit.agrawal@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ganesh Mahendran Subject: [PATCH v2 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Fri, 4 May 2018 14:57:48 +0800 Message-Id: <1525417069-27401-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 --- v2: remove "if SMP" --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index eb2cf49..b3ca29d 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 help ARM 64-bit (AArch64) Linux support.