From patchwork Thu May 17 11:06:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Dufour X-Patchwork-Id: 10406373 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 7EEFC60247 for ; Thu, 17 May 2018 11:07:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EB8428A07 for ; Thu, 17 May 2018 11:07:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62E5328A69; Thu, 17 May 2018 11:07: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=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=unavailable 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 0BEA528A07 for ; Thu, 17 May 2018 11:07:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 67A516B04A5; Thu, 17 May 2018 07:06:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 603F46B04A6; Thu, 17 May 2018 07:06:58 -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 4D1CC6B04A7; Thu, 17 May 2018 07:06:58 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f200.google.com (mail-qk0-f200.google.com [209.85.220.200]) by kanga.kvack.org (Postfix) with ESMTP id 1A08E6B04A5 for ; Thu, 17 May 2018 07:06:58 -0400 (EDT) Received: by mail-qk0-f200.google.com with SMTP id 190-v6so3555979qkf.16 for ; Thu, 17 May 2018 04:06:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:in-reply-to:references:message-id; bh=fO/fxom6QlB4tbKhPW8TrlF/CtlXMXc3TZgJCXLwOSw=; b=fcva7bKoc98PdHsl8klH/+tCm7nW/PttvFIszXbHyQG8Fvuh/PHAGsZe0W5p0Je2iY iVdoojPmbkIEoWK5yzDZafJPeooSvKo47A5d7GQ3xBIAhxYPgFFalrG9v9mUTKDKRG/K qPU5bs46Y2zKqTF8gypEuBJKSqMPvYILzOsSaul4kHd6LA+IOCYzCbcDI54lWbtL6u5B GrtgHeD9QClnT57IjuqHenXOgLOUwYRSWILBHdjU3z95lvs3LjHxQAvi8MskF8vatwDz Y4i8qPIVkm5/kcqlgs1qOqBUIqKyuhN81nVKHs9CAgvr6x6Tm/Ekjrmh5b67o5AAF8Ca Lmow== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com X-Gm-Message-State: ALKqPwcp5rPHguUZLBMp8vuQ5RMw+kEsSvN7L4a0YygqbAoYLlveVZlC BjSbFGIOFSfVyl6XEayV3DTy5oyTU7s/x9+nfx9MuP196sh4IIyILqvfTeEYB/UtfA9LeAA0Ztr WlgREVih4nI8GrApoAfM3kBj3lfTwLtm+dUkg5X3Dfoz4X88wV+3GMH1wBf9xTh8= X-Received: by 2002:a0c:aac1:: with SMTP id g1-v6mr4519193qvb.67.1526555217907; Thu, 17 May 2018 04:06:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoJ3Dw+XxSEOTRvSEUYyaTdJ76UeqRNyLxnspFTnXEBCvx0QgyLPlIlCLIeFOprlfpdD3z7 X-Received: by 2002:a0c:aac1:: with SMTP id g1-v6mr4519151qvb.67.1526555217409; Thu, 17 May 2018 04:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526555217; cv=none; d=google.com; s=arc-20160816; b=LUjGs4fiZNnMcIaWxz+vxLkpNzgJU37+2OGD6SUBnIxrGaJDs7qYJofrBBlAL1bpuc IMP4CGRdiCHL8fPlF2mku2XJUhFnyrEVlNwa92qQtkHrCfTcQes3XFEeKSUqOkCX7mZc iI9z5nmSQ/OoGXf9dxUANGjSfQCdWj+a4TgXOjB+0Il/i7P991bPjBpI03Mi3jyLMUab cuVySagGn4r/Itj4sTBDWtOf8YId/Ye6CNLJImZyMqtFUDTDkWiiBjtdFTpPCSxUSY1n li0LUCclQidXIy7ABTOz65Cd75rUBkOlKmBFyNVKSRgcNj+fs1duluzOwstN5EBQ3GzW vFIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=fO/fxom6QlB4tbKhPW8TrlF/CtlXMXc3TZgJCXLwOSw=; b=EibQf+WE1QByh/KQrXO4TyedU3kdQxWL9SXs1A99mNVhifi1iXMbllzCpOLZXMWGf2 k/6AWS8R/VHdTPP0eGnkWy2sde8dNVAYq7hpiWspBg3E+WHP/enn9lPgGI5JnIfMsGAX 7N7R/RCgGrzuUKFfLBxNYpY3D9vVba3/cE4t+b0xMK0LXr7qeR2CvV07ricCOqk/vMlZ va5nXKTHfVDGx1A/LIUYbWeo8ccyXPDJWvVdSP71SZi1yTw3ESv+ykvGB0JlZm+Qmhx2 Dk7mJI/pzBLcYt658ahw3EekMk/D7dd+fk/E4guhaU1DgAcE//AIKkExAt/71HEmL41G hqBg== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id o3-v6si2006877qtd.346.2018.05.17.04.06.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 04:06:57 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) client-ip=148.163.156.1; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) smtp.mailfrom=ldufour@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4HB4Cce143982 for ; Thu, 17 May 2018 07:06:56 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j18ah0shn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 17 May 2018 07:06:56 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 17 May 2018 12:06:53 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 17 May 2018 12:06:44 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4HB6if26160772; Thu, 17 May 2018 11:06:44 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 178114C04A; Thu, 17 May 2018 11:58:33 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D63864C05E; Thu, 17 May 2018 11:58:31 +0100 (BST) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 17 May 2018 11:58:31 +0100 (BST) From: Laurent Dufour To: 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 , khandual@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.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 Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, bsingharora@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v11 04/26] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Thu, 17 May 2018 13:06:11 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526555193-7242-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1526555193-7242-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18051711-0012-0000-0000-000005D790D5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051711-0013-0000-0000-00001954BBC5 Message-Id: <1526555193-7242-5-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-17_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805170100 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 From: Mahendran Ganesh Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This enables Speculative Page Fault handler. Signed-off-by: Ganesh Mahendran --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4759566a78cb..c932ae6d2cce 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -147,6 +147,7 @@ config ARM64 select SWIOTLB select SYSCTL_EXCEPTION_TRACE select THREAD_INFO_IN_TASK + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT help ARM 64-bit (AArch64) Linux support.