mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch added to -mm tree
@ 2022-04-14  2:32 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-14  2:32 UTC (permalink / raw)
  To: mm-commits, sfr, yuzhao, akpm


The patch titled
     Subject: mm-x86-add-config_arch_has_nonleaf_pmd_young-fix
has been added to the -mm tree.  Its filename is
     mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Yu Zhao <yuzhao@google.com>
Subject: mm-x86-add-config_arch_has_nonleaf_pmd_young-fix

fix Kconfig warnings

Link: https://lkml.kernel.org/r/YlZrmTd0JGO7/g8a@google.com
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


--- a/arch/Kconfig~mm-x86-add-config_arch_has_nonleaf_pmd_young-fix
+++ a/arch/Kconfig
@@ -1380,7 +1380,6 @@ config HAVE_ARCH_NODE_DEV_GROUP
 
 config ARCH_HAS_NONLEAF_PMD_YOUNG
 	bool
-	depends on PGTABLE_LEVELS > 2
 	help
 	  Architectures that select this option are capable of setting the
 	  accessed bit in non-leaf PMD entries when using them as part of linear
--- a/arch/x86/Kconfig~mm-x86-add-config_arch_has_nonleaf_pmd_young-fix
+++ a/arch/x86/Kconfig
@@ -85,7 +85,7 @@ config X86
 	select ARCH_HAS_PMEM_API		if X86_64
 	select ARCH_HAS_PTE_DEVMAP		if X86_64
 	select ARCH_HAS_PTE_SPECIAL
-	select ARCH_HAS_NONLEAF_PMD_YOUNG
+	select ARCH_HAS_NONLEAF_PMD_YOUNG	if PGTABLE_LEVELS > 2
 	select ARCH_HAS_UACCESS_FLUSHCACHE	if X86_64
 	select ARCH_HAS_COPY_MC			if X86_64
 	select ARCH_HAS_SET_MEMORY
_

Patches currently in -mm which might be from yuzhao@google.com are

mm-x86-arm64-add-arch_has_hw_pte_young.patch
mm-x86-add-config_arch_has_nonleaf_pmd_young.patch
mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch
mm-vmscanc-refactor-shrink_node.patch
revert-include-linux-mm_inlineh-fold-__update_lru_size-into-its-sole-caller.patch
mm-multi-gen-lru-groundwork.patch
mm-multi-gen-lru-minimal-implementation.patch
mm-multi-gen-lru-exploit-locality-in-rmap.patch
mm-multi-gen-lru-support-page-table-walks.patch
mm-multi-gen-lru-optimize-multiple-memcgs.patch
mm-multi-gen-lru-kill-switch.patch
mm-multi-gen-lru-thrashing-prevention.patch
mm-multi-gen-lru-debugfs-interface.patch
mm-multi-gen-lru-admin-guide.patch
mm-multi-gen-lru-design-doc.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-14  2:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14  2:32 + mm-x86-add-config_arch_has_nonleaf_pmd_young-fix.patch added to -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).