Message ID | 1526555193-7242-4-git-send-email-ldufour@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 90E71602C2 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 17 May 2018 11:07:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E8AA28A07 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 17 May 2018 11:07:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72DE728A6C; Thu, 17 May 2018 11:07:03 +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=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 A574C28A07 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 17 May 2018 11:07:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 653606B04A4; Thu, 17 May 2018 07:06:57 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5D9736B04A5; Thu, 17 May 2018 07:06:57 -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 4A2C36B04A6; Thu, 17 May 2018 07:06:57 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm0-f70.google.com (mail-wm0-f70.google.com [74.125.82.70]) by kanga.kvack.org (Postfix) with ESMTP id E3DDF6B04A4 for <linux-mm@kvack.org>; Thu, 17 May 2018 07:06:56 -0400 (EDT) Received: by mail-wm0-f70.google.com with SMTP id d82-v6so1727396wmd.4 for <linux-mm@kvack.org>; Thu, 17 May 2018 04:06:56 -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=kxS7H2iBpeynIoIJWoPbaX/szr/fQ53+L64aBqDIIIk=; b=uUd5z0VOqb/7Zi+FpOcvBhaVqppqcbXqkJkQie3RgvN7Y4O3xzIf6V5WJymvP+/cNa sD11pQhmCh3uY5mAGYYYIhas0K6wO1FmLNA0TJMUNAt0De3mdhhk2GK/o39BCr5XFd9W jJKIid/D7Fu/T3mUyUFzWKDN5GbwItnxt6mxf/G5OE807aF4UyXhU1zEW1D7njxMwPdi ezDeazKMIGWp4OWZ0S5O+iuYejNxuujQl6J+TMWNTIgH3J1MdFbOMLDgRk6hXyIAHht1 TJyeQi/21rpt3/aPcZrROJWPSMT0xqhk4t2aC12mdgQQbGsz9hyDneU3l1TIqT7LVhvJ rnRA== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.158.5 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: ALKqPwfIdj82gkDdIuBbvAiUt5TP04qrCbbOeY3O7ib/JZSbV9+z79uV rpzo9HSQ7l1+7wF/uhGfyKIdRLoqiPgnvDT/lSy1zqBuFrOBRe6fu6HZpjgiE0osp1UstELjqSX VH94rOIy5XtqzytJA3u6ImOTKutwZXjQB3p7PRhGcRZQGo6KU2g+Wy4CNFzGlLkE= X-Received: by 2002:a50:8307:: with SMTP id 7-v6mr6284923edh.263.1526555216510; Thu, 17 May 2018 04:06:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZodGPqip2oGnAMrkWucQoGILuFu/jy5qu7HGlBpMZFP1P16sxhzEm+3sOmbLA2HU1Ahnl9T X-Received: by 2002:a50:8307:: with SMTP id 7-v6mr6284857edh.263.1526555215458; Thu, 17 May 2018 04:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526555215; cv=none; d=google.com; s=arc-20160816; b=oi+hHMbqU6N0vOR+4Vq5YLWI73lOVlJduTE3ea1kbsoZ2NzV/heZoleKGx9+2vhBY/ 48US6XumMaxNf5vXFK0jGrNeRzWsVH34wpzbN0PHOWPY+1aNto9m2Wsw3xRqLgcYYwuM mU1/DJl9nOyk7TQh8VckzyWid7LfFKsIIze4r3SeZkJIsDj1W+JYl5EjBtdfnXdJddax dwpQU3GGzS7GGRKYutsQckFb2gk3is3DpWgGo5DHEQ8UJQecLLhTnGL35+k02aqfigCA JuD4iI3BjxZIVUvfqQEBBSVfiN8Qq8osVExi/PJGHGhlbA4NFOez9pXZINqI3D/87BuK SLOw== 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=kxS7H2iBpeynIoIJWoPbaX/szr/fQ53+L64aBqDIIIk=; b=IyBuUVR3Mh+noy9Cj0qIgv9LSFnokwFwg1sUGYIgxc/mDeZQerM2wff+sz95F+T6U0 xqJJr2l7cHGOnEj52nsPbHNjoaurZjvy43O5pI4OdSSRYE8q72Ob+qzN8hsCe0ZWh2NS rSZ3oKR0aebQbn9hU5CGzh8hQtErOLfQLA9vQjug+dLTFWuxPTeuCtpYvhErwGOrbWSd ozw08E+NST1agQ4Ycz5lpD5Nd5GL2ap+Tjo+ypyCX9HFVGXHzQwMOj6/5yH+qay+L/SR m4I68NDOmBWN6kcPldEycH5hImUMhSr5wUR8NljvN8SYZnQdxY9rRnvSBzEu99rNOIpK FmPw== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.158.5 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 (mx0b-001b2d01.pphosted.com. [148.163.158.5]) by mx.google.com with ESMTPS id y5-v6si2674959edd.61.2018.05.17.04.06.55 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 04:06:55 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.158.5 is neither permitted nor denied by best guess record for domain of ldufour@linux.vnet.ibm.com) client-ip=148.163.158.5; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.158.5 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 (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4HB4fJ5017348 for <linux-mm@kvack.org>; Thu, 17 May 2018 07:06:54 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2j17hab6mp-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <linux-mm@kvack.org>; Thu, 17 May 2018 07:06:53 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <linux-mm@kvack.org> from <ldufour@linux.vnet.ibm.com>; Thu, 17 May 2018 12:06:51 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 17 May 2018 12:06:42 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4HB6g6J49807456; Thu, 17 May 2018 11:06:42 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5E1F4C044; Thu, 17 May 2018 11:58:30 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8D3844C052; Thu, 17 May 2018 11:58:29 +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:29 +0100 (BST) From: Laurent Dufour <ldufour@linux.vnet.ibm.com> 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 <willy@infradead.org>, khandual@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, hpa@zytor.com, Will Deacon <will.deacon@arm.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>, sergey.senozhatsky.work@gmail.com, Andrea Arcangeli <aarcange@redhat.com>, Alexei Starovoitov <alexei.starovoitov@gmail.com>, kemi.wang@intel.com, Daniel Jordan <daniel.m.jordan@oracle.com>, David Rientjes <rientjes@google.com>, Jerome Glisse <jglisse@redhat.com>, Ganesh Mahendran <opensource.ganesh@gmail.com>, Minchan Kim <minchan@kernel.org>, Punit Agrawal <punitagrawal@gmail.com>, vinayak menon <vinayakm.list@gmail.com>, Yang Shi <yang.shi@linux.alibaba.com> 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 <tim.c.chen@linux.intel.com>, linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v11 03/26] powerpc/mm: set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Thu, 17 May 2018 13:06:10 +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-0040-0000-0000-0000045A6DBD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051711-0041-0000-0000-000020FEA536 Message-Id: <1526555193-7242-4-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=1015 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: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index be7aca467692..75f71b963630 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -232,6 +232,7 @@ config PPC select OLD_SIGACTION if PPC32 select OLD_SIGSUSPEND select SPARSE_IRQ + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT if PPC_BOOK3S_64 select SYSCTL_EXCEPTION_TRACE select VIRT_TO_BUS if !PPC64 #
Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for BOOK3S_64. This enables the Speculative Page Fault handler. Support is only provide for BOOK3S_64 currently because: - require CONFIG_PPC_STD_MMU because checks done in set_access_flags_filter() - require BOOK3S because we can't support for book3e_hugetlb_preload() called by update_mmu_cache() Cc: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+)