Received: by 10.213.65.68 with SMTP id h4csp2653030imn; Mon, 9 Apr 2018 07:01:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Y+wJTJx2HzpavXWjzM1TQ0BaaCqi4CPChhFfIn+pNsGxe/lhjMORglqCfJg9lS0wHoLFe X-Received: by 10.101.100.24 with SMTP id a24mr24556195pgv.7.1523282516465; Mon, 09 Apr 2018 07:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523282516; cv=none; d=google.com; s=arc-20160816; b=zOriS0dzDwk712FZGRu9NQ2rq+2QXQN1JkExitWL1Kj2XLM1NMhPk9KUkWSV8vwNNV lT6qG55AAJA99f6WpulOVK/TDdsbJjH26JOfpq6Z16fIQPzS57rGkSA/NrSvNKMVavgN fhkkNfF950wH1Iwb7VXc31vqmc3jMvzmIyBYL39FD0VbUg6uwkfwL981MbljtyY0fKSk LmqpoeCj1ZYbEtDP7IMgq++mW8jK6vf+O9fbqm744sPsNTM2jG/B6vkBqO1RAnQtlnxy 69DkyGYVClsKrYzWTsgkfN+8e1ht2BwKq0gzwFYOlOHiycwN9MgmES1RVrQk+R7t9o+r /YYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=0fXjzTC40I800oPfw3ow/vQhYoZak8zvIkl6BL/IMGw=; b=X3S48LcweyELsCsbJ3nuOL5zyqmEP3oMaLcVbVvyTHCu+qfyUkjSpvpqrs0J+IxMcD liz6GFQh/J1d6v6XvslHPT86Du1EyLqugTOWwjeuPQcO6OweivmvlWVmS0PEolOm1NLw 8XNxaBo4LiexsLCKJZuIjJivlBHf28NTJvbUlaB7NiVBNQMDrNwyBfcEoQPkI4xGfmim QIj8VaGzrmlLTx4WkAqBWlFpVTyy6zvKFw3Dmu2AW5VWhUgdz7wFmUunYBNCpVa+saUh 2zqnzlio4h8t22ki6Q5ZTbub33oP+YGfhy/ubbwMjcORrL0vCxP2U2fewo2KlicK81oL CV1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d67si313837pfb.232.2018.04.09.07.01.16; Mon, 09 Apr 2018 07:01:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752790AbeDIN5Y (ORCPT + 99 others); Mon, 9 Apr 2018 09:57:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60050 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751291AbeDIN5X (ORCPT ); Mon, 9 Apr 2018 09:57:23 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w39Du6pg015839 for ; Mon, 9 Apr 2018 09:57:22 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h857cm3t2-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 09 Apr 2018 09:57:22 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Apr 2018 14:57:20 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 9 Apr 2018 14:57:12 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w39DvCuT11665806; Mon, 9 Apr 2018 13:57:12 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 60680AE04D; Mon, 9 Apr 2018 14:47:10 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 57279AE051; Mon, 9 Apr 2018 14:47:08 +0100 (BST) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.145.186.179]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 9 Apr 2018 14:47:08 +0100 (BST) From: Laurent Dufour To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, Jerome Glisse , mhocko@kernel.org, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, Jonathan Corbet , Catalin Marinas , Will Deacon , Yoshinori Sato , Rich Felker , "David S . Miller" , Thomas Gleixner , Ingo Molnar , Vineet Gupta , Palmer Dabbelt , Albert Ou , Martin Schwidefsky , Heiko Carstens Subject: [PATCH 0/3] move __HAVE_ARCH_PTE_SPECIAL in Kconfig Date: Mon, 9 Apr 2018 15:57:06 +0200 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18040913-0008-0000-0000-000004E860A3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040913-0009-0000-0000-00001E7B8548 Message-Id: <1523282229-20731-1-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-09_06:,, 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-1804090148 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The per architecture __HAVE_ARCH_PTE_SPECIAL is defined statically in the per architecture header files. This doesn't allow to make other configuration dependent on it. This series is moving the __HAVE_ARCH_PTE_SPECIAL into the Kconfig files, setting it automatically when architectures was already setting it in header file. There is no functional change introduced by this series. Laurent Dufour (3): mm: introduce ARCH_HAS_PTE_SPECIAL mm: replace __HAVE_ARCH_PTE_SPECIAL mm: remove __HAVE_ARCH_PTE_SPECIAL Documentation/features/vm/pte_special/arch-support.txt | 2 +- arch/arc/Kconfig | 1 + arch/arc/include/asm/pgtable.h | 2 -- arch/arm/Kconfig | 1 + arch/arm/include/asm/pgtable-3level.h | 1 - arch/arm64/Kconfig | 1 + arch/arm64/include/asm/pgtable.h | 2 -- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/book3s/64/pgtable.h | 3 --- arch/powerpc/include/asm/pte-common.h | 3 --- arch/riscv/Kconfig | 1 + arch/s390/Kconfig | 1 + arch/s390/include/asm/pgtable.h | 1 - arch/sh/Kconfig | 1 + arch/sh/include/asm/pgtable.h | 2 -- arch/sparc/Kconfig | 1 + arch/sparc/include/asm/pgtable_64.h | 3 --- arch/x86/Kconfig | 1 + arch/x86/include/asm/pgtable_types.h | 1 - include/linux/pfn_t.h | 4 ++-- mm/Kconfig | 3 +++ mm/gup.c | 4 ++-- mm/memory.c | 2 +- 23 files changed, 18 insertions(+), 24 deletions(-) -- 2.7.4