• Anshuman Khandual's avatar
    mm/debug_vm_pgtable: add debug prints for individual tests · 6315df41
    Anshuman Khandual authored
    This adds debug print information that enlists all tests getting executed
    on a given platform.  With dynamic debug enabled, the following
    information will be splashed during boot.  For compactness purpose,
    dropped both time stamp and prefix (i.e debug_vm_pgtable) from this sample
    output.
    
    [debug_vm_pgtable      ]: Validating architecture page table helpers
    [pte_basic_tests       ]: Validating PTE basic
    [pmd_basic_tests       ]: Validating PMD basic
    [p4d_basic_tests       ]: Validating P4D basic
    [pgd_basic_tests       ]: Validating PGD basic
    [pte_clear_tests       ]: Validating PTE clear
    [pmd_clear_tests       ]: Validating PMD clear
    [pte_advanced_tests    ]: Validating PTE advanced
    [pmd_advanced_tests    ]: Validating PMD advanced
    [hugetlb_advanced_tests]: Validating HugeTLB advanced
    [pmd_leaf_tests        ]: Validating PMD leaf
    [pmd_huge_tests        ]: Validating PMD huge
    [pte_savedwrite_tests  ]: Validating PTE saved write
    [pmd_savedwrite_tests  ]: Validating PMD saved write
    [pmd_populate_tests    ]: Validating PMD populate
    [pte_special_tests     ]: Validating PTE special
    [pte_protnone_tests    ]: Validating PTE protnone
    [pmd_protnone_tests    ]: Validating PMD protnone
    [pte_devmap_tests      ]: Validating PTE devmap
    [pmd_devmap_tests      ]: Validating PMD devmap
    [pte_swap_tests        ]: Validating PTE swap
    [swap_migration_tests  ]: Validating swap migration
    [hugetlb_basic_tests   ]: Validating HugeTLB basic
    [pmd_thp_tests         ]: Validating PMD based THP
    Signed-off-by: default avatarAnshuman Khandual <anshuman.khandual@arm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Tested-by: Vineet Gupta <vgupta@synopsys.com>	[arc]
    Reviewed-by: default avatarZi Yan <ziy@nvidia.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Mike Rapoport <rppt@linux.ibm.com>
    Cc: Vineet Gupta <vgupta@synopsys.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
    Cc: Vasily Gorbik <gor@linux.ibm.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Kirill A. Shutemov <kirill@shutemov.name>
    Cc: Paul Walmsley <paul.walmsley@sifive.com>
    Cc: Palmer Dabbelt <palmer@dabbelt.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Mike Rapoport <rppt@kernel.org>
    Link: http://lkml.kernel.org/r/1593996516-7186-4-git-send-email-anshuman.khandual@arm.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    6315df41
debug_vm_pgtable.c 29 KB