All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bharata B Rao <bharata@amd.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v6 3/5] mm: Hot page tracking and promotion - pghot
Date: Fri, 27 Mar 2026 08:03:27 +0800	[thread overview]
Message-ID: <202603270724.CtFSyk22-lkp@intel.com> (raw)
In-Reply-To: <20260323095104.238982-4-bharata@amd.com>

Hi Bharata,

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

[auto build test ERROR on a989fde763f4f24209e4702f50a45be572340e68]

url:    https://github.com/intel-lab-lkp/linux/commits/Bharata-B-Rao/mm-migrate-Allow-misplaced-migration-without-VMA/20260325-092849
base:   a989fde763f4f24209e4702f50a45be572340e68
patch link:    https://lore.kernel.org/r/20260323095104.238982-4-bharata%40amd.com
patch subject: [RFC PATCH v6 3/5] mm: Hot page tracking and promotion - pghot
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260327/202603270724.CtFSyk22-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260327/202603270724.CtFSyk22-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/202603270724.CtFSyk22-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from mm/pghot-default.c:10:
   mm/pghot-default.c: In function 'pghot_access_latency':
>> include/linux/pghot.h:56:41: error: implicit declaration of function 'GENMASK' [-Wimplicit-function-declaration]
      56 | #define PGHOT_TIME_MASK                 GENMASK(PGHOT_TIME_WIDTH - 1, 0)
         |                                         ^~~~~~~
   include/linux/pghot.h:57:42: note: in expansion of macro 'PGHOT_TIME_MASK'
      57 | #define PGHOT_TIME_BUCKETS_MASK         (PGHOT_TIME_MASK << PGHOT_TIME_BUCKETS_SHIFT)
         |                                          ^~~~~~~~~~~~~~~
   mm/pghot-default.c:24:17: note: in expansion of macro 'PGHOT_TIME_BUCKETS_MASK'
      24 |         time &= PGHOT_TIME_BUCKETS_MASK;
         |                 ^~~~~~~~~~~~~~~~~~~~~~~
   mm/pghot-default.c: In function 'pghot_update_record':
   mm/pghot-default.c:60:36: error: implicit declaration of function 'BIT' [-Wimplicit-function-declaration]
      60 |                         hotness |= BIT(PGHOT_MIGRATE_READY);
         |                                    ^~~
   In file included from include/linux/jump_label.h:77,
                    from include/linux/static_key.h:1,
                    from include/linux/pghot.h:13:
   mm/pghot-default.c:61:28: error: implicit declaration of function 'try_cmpxchg' [-Wimplicit-function-declaration]
      61 |         } while (unlikely(!try_cmpxchg(phi, &old_hotness, hotness)));
         |                            ^~~~~~~~~~~
   include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
      77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
         |                                             ^


vim +/GENMASK +56 include/linux/pghot.h

    54	
    55	#define PGHOT_FREQ_MASK			GENMASK(PGHOT_FREQ_WIDTH - 1, 0)
  > 56	#define PGHOT_TIME_MASK			GENMASK(PGHOT_TIME_WIDTH - 1, 0)
    57	#define PGHOT_TIME_BUCKETS_MASK		(PGHOT_TIME_MASK << PGHOT_TIME_BUCKETS_SHIFT)
    58	

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

  reply	other threads:[~2026-03-27  0:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23  9:50 [RFC PATCH v6 0/5] mm: Hot page tracking and promotion infrastructure Bharata B Rao
2026-03-23  9:51 ` [RFC PATCH v6 1/5] mm: migrate: Allow misplaced migration without VMA Bharata B Rao
2026-03-23  9:51 ` [RFC PATCH v6 2/5] mm: migrate: Add migrate_misplaced_folios_batch() Bharata B Rao
2026-03-26  5:50   ` Bharata B Rao
2026-04-21 15:25   ` Donet Tom
2026-04-21 16:05     ` Gregory Price
2026-04-22  3:26       ` Bharata B Rao
2026-04-22  3:37         ` Gregory Price
2026-04-22  4:04           ` Donet Tom
2026-04-22  4:15             ` Bharata B Rao
2026-03-23  9:51 ` [RFC PATCH v6 3/5] mm: Hot page tracking and promotion - pghot Bharata B Rao
2026-03-27  0:03   ` kernel test robot [this message]
2026-04-24 12:57   ` Donet Tom
2026-04-24 13:21     ` Gregory Price
2026-04-24 15:40       ` Donet Tom
2026-04-27  5:24     ` Bharata B Rao
2026-04-30  7:06       ` Donet Tom
2026-03-23  9:51 ` [RFC PATCH v6 4/5] mm: pghot: Precision mode for pghot Bharata B Rao
2026-03-26 10:41   ` Bharata B Rao
2026-03-27  0:56   ` kernel test robot
2026-03-27  0:56   ` kernel test robot
2026-03-23  9:51 ` [RFC PATCH v6 5/5] mm: sched: move NUMA balancing tiering promotion to pghot Bharata B Rao
2026-03-30  4:46   ` Bharata B Rao
2026-03-23  9:56 ` [RFC PATCH v6 0/5] mm: Hot page tracking and promotion infrastructure Bharata B Rao
2026-03-23  9:58 ` Bharata B Rao
2026-03-23  9:59 ` Bharata B Rao
2026-03-23 10:01 ` Bharata B Rao

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=202603270724.CtFSyk22-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bharata@amd.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.