From: kernel test robot <lkp@intel.com>
To: Aravinda Prasad <aravinda.prasad@intel.com>,
damon@lists.linux.dev, linux-mm@kvack.org, sj@kernel.org,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, aravinda.prasad@intel.com,
s2322819@ed.ac.uk, sandeep4.kumar@intel.com,
ying.huang@intel.com, dave.hansen@intel.com,
dan.j.williams@intel.com, sreenivas.subramoney@intel.com,
antti.kervinen@intel.com, alexander.kanevskiy@intel.com
Subject: Re: [PATCH v2 2/3] mm/damon: profiling enhancement
Date: Tue, 19 Mar 2024 02:23:23 +0800 [thread overview]
Message-ID: <202403190218.1tBSAJpX-lkp@intel.com> (raw)
In-Reply-To: <20240318132848.82686-3-aravinda.prasad@intel.com>
Hi Aravinda,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Aravinda-Prasad/mm-damon-mm-infrastructure-support/20240318-212723
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20240318132848.82686-3-aravinda.prasad%40intel.com
patch subject: [PATCH v2 2/3] mm/damon: profiling enhancement
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240319/202403190218.1tBSAJpX-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240319/202403190218.1tBSAJpX-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/202403190218.1tBSAJpX-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/damon/vaddr.c: In function 'pick_profile_level':
>> mm/damon/vaddr.c:78:13: error: implicit declaration of function 'pgtable_l5_enabled' [-Werror=implicit-function-declaration]
78 | if (pgtable_l5_enabled()) {
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pgtable_l5_enabled +78 mm/damon/vaddr.c
54
55 /* Pick the highest possible page table profiling level for addr
56 * in the region defined by start and end
57 */
58 static int pick_profile_level(unsigned long start, unsigned long end,
59 unsigned long addr)
60 {
61 /* Start with PTE and check if higher levels can be picked */
62 int level = 0;
63
64 if (!arch_has_hw_nonleaf_pmd_young())
65 return level;
66
67 /* Check if PMD or higher can be picked, else use PTE */
68 if (pmd_addr_start(addr, (start) - 1) < start
69 || pmd_addr_end(addr, (end) + 1) > end)
70 return level;
71
72 level++;
73 /* Check if PUD or higher can be picked, else use PMD */
74 if (pud_addr_start(addr, (start) - 1) < start
75 || pud_addr_end(addr, (end) + 1) > end)
76 return level;
77
> 78 if (pgtable_l5_enabled()) {
79 level++;
80 /* Check if P4D or higher can be picked, else use PUD */
81 if (p4d_addr_start(addr, (start) - 1) < start
82 || p4d_addr_end(addr, (end) + 1) > end)
83 return level;
84 }
85
86 level++;
87 /* Check if PGD can be picked, else return PUD level */
88 if (pgd_addr_start(addr, (start) - 1) < start
89 || pgd_addr_end(addr, (end) + 1) > end)
90 return level;
91
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-03-18 18:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-18 13:28 [PATCH v2 0/3] mm/damon: Profiling enhancements for DAMON Aravinda Prasad
2024-03-18 13:28 ` [PATCH v2 1/3] mm/damon: mm infrastructure support Aravinda Prasad
2024-03-18 20:27 ` kernel test robot
2024-03-18 13:28 ` [PATCH v2 2/3] mm/damon: profiling enhancement Aravinda Prasad
2024-03-18 18:23 ` kernel test robot [this message]
2024-03-18 21:59 ` kernel test robot
2024-03-18 13:28 ` [PATCH v2 3/3] mm/damon: documentation updates Aravinda Prasad
2024-03-19 0:51 ` [PATCH v2 0/3] mm/damon: Profiling enhancements for DAMON Yu Zhao
2024-03-19 5:20 ` SeongJae Park
2024-03-19 10:56 ` Prasad, Aravinda
2024-03-20 12:31 ` Prasad, Aravinda
2024-03-21 23:10 ` SeongJae Park
2024-03-22 12:12 ` Prasad, Aravinda
2024-03-22 18:32 ` SeongJae Park
2024-03-25 7:50 ` Prasad, Aravinda
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=202403190218.1tBSAJpX-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.kanevskiy@intel.com \
--cc=antti.kervinen@intel.com \
--cc=aravinda.prasad@intel.com \
--cc=damon@lists.linux.dev \
--cc=dan.j.williams@intel.com \
--cc=dave.hansen@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=s2322819@ed.ac.uk \
--cc=sandeep4.kumar@intel.com \
--cc=sj@kernel.org \
--cc=sreenivas.subramoney@intel.com \
--cc=ying.huang@intel.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 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).