Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp960674ybf; Thu, 27 Feb 2020 02:44:26 -0800 (PST) X-Google-Smtp-Source: APXvYqx8wHPQaeWNNPh6fiWLh6iaAuPVEZ2l1WRlJVxPdUBNLeqT9jq+liJItNXYAJfJP5/3p5Xi X-Received: by 2002:a05:6830:22ee:: with SMTP id t14mr2724137otc.236.1582800266569; Thu, 27 Feb 2020 02:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582800266; cv=none; d=google.com; s=arc-20160816; b=VKIljjxrjPwr2vjdUez7tx6PicPJhD9sz8gofYRzduo7N8dZ2/NASjc8xAIF5bOiRT XhKHewd9r0tD85IoKHQNI9IRsU0VntpL/1aN9cA5LbfeM/LTEGiRGj/179CqXwah5Qwt 9t6If8FWdHkK+G9mCeNN7QYsLQBgHl1c84NhTPriW4SoeMEs6JJ0hvFm80JWbSbFw3yU 8geU8K0F0OytQLKrw12l1c54TKYVV+y7ik6vWLjkU1iTTytPQRTVQ6x2yhtKk/SpwweU 1dGzxFX81xNa0TURXdu75ULYO39FT3pcO/iD1UZgq/deUBR98c9sWX7YxqZ3W4IDppMl MjQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=5jVgSlMtkWu6tY2vWvxiJHRV/VXhxhn9Ff1N2fIt2UU=; b=bmnTzR4mznuIMF1sM3kVxiO3ny8LM1iG3wmsmytI6KLLgclaKIeM3Ad8/SEUZ7z3WY gOJF0fFOFAT3dawecMWp4zU8gAohdEtG538v3Q/cGeT7Mj/YjQxpVlCK64I1965a9AOZ QqPO8/FNKpymQtEP1KWxUOI/Rc68wwhMqcIs+On0L9x1dgV5fbTAYMMVVLtkMQjGGriZ FDnTwxZwgZ+ca+1MgELPUdrbS84YTAqm0KJ0q4aqxVSDUM2P59aM+MiLZ0S68QoBUZpj 3MPgEuZLPrZeOV+Py169eNkaY6EppZuLhjQFI/FRVAPOiMk2Wt6UHzCMF3QhRqQ6po1d T/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b="S2lr/JhY"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si1119184otk.277.2020.02.27.02.44.13; Thu, 27 Feb 2020 02:44:26 -0800 (PST) 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; dkim=pass header.i=@c-s.fr header.s=mail header.b="S2lr/JhY"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728913AbgB0Kmx (ORCPT + 99 others); Thu, 27 Feb 2020 05:42:53 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:49496 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728844AbgB0Kmx (ORCPT ); Thu, 27 Feb 2020 05:42:53 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48Sq4p6C5jz9tyhj; Thu, 27 Feb 2020 11:42:50 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=S2lr/JhY; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id RBUcz2GDDss6; Thu, 27 Feb 2020 11:42:50 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48Sq4p546Vz9tyhl; Thu, 27 Feb 2020 11:42:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1582800170; bh=5jVgSlMtkWu6tY2vWvxiJHRV/VXhxhn9Ff1N2fIt2UU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=S2lr/JhYZ+BGylLoddvoIQ9iQhySwoByCGIjiV2jJ0PeIWGuHFGwJKoDCDBlMX134 i5DDDsfMVW33gpJWXfhaNVZkRAjliFDf2imHM3gIFbd6vhCt20XFgykuEBdbkrcViD lQGvXfjqGVwxK9iazQgdwBp51saPHe4oEmbNBr5A= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BCB398B875; Thu, 27 Feb 2020 11:42:51 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id FEU3XPlFNEyZ; Thu, 27 Feb 2020 11:42:51 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 20C4A8B879; Thu, 27 Feb 2020 11:42:48 +0100 (CET) Subject: Re: [PATCH] mm/debug: Add tests validating arch page table helpers for core features To: Anshuman Khandual , linux-mm@kvack.org Cc: Heiko Carstens , Paul Mackerras , "H. Peter Anvin" , linux-riscv@lists.infradead.org, Will Deacon , linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, x86@kernel.org, Mike Rapoport , Christian Borntraeger , Ingo Molnar , Catalin Marinas , linux-snps-arc@lists.infradead.org, Vasily Gorbik , Borislav Petkov , Paul Walmsley , "Kirill A . Shutemov" , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Vineet Gupta , linux-kernel@vger.kernel.org, Palmer Dabbelt , Andrew Morton , linuxppc-dev@lists.ozlabs.org References: <1582799637-11786-1-git-send-email-anshuman.khandual@arm.com> From: Christophe Leroy Message-ID: <51421bb3-9075-d7e9-1750-0553a1ebe64a@c-s.fr> Date: Thu, 27 Feb 2020 11:42:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1582799637-11786-1-git-send-email-anshuman.khandual@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 27/02/2020 à 11:33, Anshuman Khandual a écrit : > This adds new tests validating arch page table helpers for these following > core memory features. These tests create and test specific mapping types at > various page table levels. > > * SPECIAL mapping > * PROTNONE mapping > * DEVMAP mapping > * SOFTDIRTY mapping > * SWAP mapping > * MIGRATION mapping > * HUGETLB mapping For testing HUGETLB mappings, you also have to include tests of hugepd functions/helpers. Not all archictures have hugepage size which matches with page tables levels (e.g. powerpc). Those architectures use hugepd_t. Christophe