All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vernon Yang <vernon2gm@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 2/7] mm: memory: add ptep_clear_flush_range function
Date: Fri, 15 Aug 2025 13:33:05 +0800	[thread overview]
Message-ID: <202508151338.3rHqeTte-lkp@intel.com> (raw)
In-Reply-To: <20250814113813.4533-3-vernon2gm@gmail.com>

Hi Vernon,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.17-rc1 next-20250814]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Vernon-Yang/mm-memory-replace-single-operation-with-multi-operation-in-wp/20250814-195529
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20250814113813.4533-3-vernon2gm%40gmail.com
patch subject: [RFC PATCH 2/7] mm: memory: add ptep_clear_flush_range function
config: arm-randconfig-002-20250815 (https://download.01.org/0day-ci/archive/20250815/202508151338.3rHqeTte-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250815/202508151338.3rHqeTte-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508151338.3rHqeTte-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/pgtable-generic.c:120:3: error: call to undeclared function 'flush_tlb_mm_range'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     120 |                 flush_tlb_mm_range(vma->vm_mm, address, address + nr * PAGE_SIZE,
         |                 ^
   1 error generated.


vim +/flush_tlb_mm_range +120 mm/pgtable-generic.c

   104	
   105	void ptep_clear_flush_range(struct vm_area_struct *vma, unsigned long address,
   106				    pte_t *ptep, unsigned int nr)
   107	{
   108		struct mm_struct *mm = (vma)->vm_mm;
   109		bool accessible = false;
   110		pte_t pte;
   111		int i;
   112	
   113		for (i = 0; i < nr; i++) {
   114			pte = ptep_get_and_clear(mm, address + i * PAGE_SIZE, ptep + i);
   115			if (!accessible && pte_accessible(mm, pte))
   116				accessible = true;
   117		}
   118	
   119		if (accessible) {
 > 120			flush_tlb_mm_range(vma->vm_mm, address, address + nr * PAGE_SIZE,
   121					   PAGE_SHIFT, false);
   122		}
   123	}
   124	#endif
   125	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-08-15  5:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14 11:38 [RFC PATCH 0/7] add mTHP support for wp Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 1/7] mm: memory: replace single-operation with multi-operation in wp Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 2/7] mm: memory: add ptep_clear_flush_range function Vernon Yang
2025-08-15  5:33   ` kernel test robot [this message]
2025-08-14 11:38 ` [RFC PATCH 3/7] mm: memory: add kmsan_copy_pages_meta function Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 4/7] mm: memory: add offset to start copy for copy_user_gigantic_page Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 5/7] mm: memory: improve wp_page_copy readability Vernon Yang
2025-08-14 11:38 ` [RFC PATCH 6/7] mm: memory: add mTHP support for wp Vernon Yang
2025-08-14 11:58   ` David Hildenbrand
2025-08-15 15:20     ` Vernon Yang
2025-08-16  6:40       ` David Hildenbrand
2025-08-14 12:57   ` David Hildenbrand
2025-08-15 15:30     ` Vernon Yang
2025-08-15  6:26   ` kernel test robot
2025-08-14 11:38 ` [RFC PATCH 7/7] selftests: mm: support wp mTHP collapse testing Vernon Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202508151338.3rHqeTte-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vernon2gm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.