From: kernel test robot <lkp@intel.com>
To: Charlie Jenkins <charlie@rivosinc.com>
Cc: oe-kbuild-all@lists.linux.dev,
Palmer Dabbelt <palmer@rivosinc.com>,
Atish Patra <atishp@rivosinc.com>,
Alexandre Ghiti <alexghiti@rivosinc.com>,
Samuel Holland <samuel.holland@sifive.com>
Subject: [palmer:for-next 27/30] arch/riscv/mm/cacheflush.c:168:37: error: 'mm_context_t' has no member named 'icache_stale_mask'
Date: Thu, 18 Apr 2024 06:14:34 +0800 [thread overview]
Message-ID: <202404180621.qG7A9Tk0-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git for-next
head: a76716f0ec75b9e7ac62d30854d690044c857684
commit: 383289e4b071ca4c8c42e34567f3f267766f093c [27/30] riscv: Include riscv_set_icache_flush_ctx prctl
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20240418/202404180621.qG7A9Tk0-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240418/202404180621.qG7A9Tk0-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/202404180621.qG7A9Tk0-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
arch/riscv/mm/cacheflush.c: In function 'set_icache_stale_mask':
>> arch/riscv/mm/cacheflush.c:168:37: error: 'mm_context_t' has no member named 'icache_stale_mask'
168 | mask = ¤t->mm->context.icache_stale_mask;
| ^
arch/riscv/mm/cacheflush.c: At top level:
>> arch/riscv/mm/cacheflush.c:157:13: warning: 'set_icache_stale_mask' defined but not used [-Wunused-function]
157 | static void set_icache_stale_mask(void)
| ^~~~~~~~~~~~~~~~~~~~~
vim +168 arch/riscv/mm/cacheflush.c
156
> 157 static void set_icache_stale_mask(void)
158 {
159 cpumask_t *mask;
160 bool stale_cpu;
161
162 /*
163 * Mark every other hart's icache as needing a flush for
164 * this MM. Maintain the previous value of the current
165 * cpu to handle the case when this function is called
166 * concurrently on different harts.
167 */
> 168 mask = ¤t->mm->context.icache_stale_mask;
169 stale_cpu = cpumask_test_cpu(smp_processor_id(), mask);
170
171 cpumask_setall(mask);
172 assign_bit(cpumask_check(smp_processor_id()), cpumask_bits(mask), stale_cpu);
173 }
174
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-04-17 22:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 22:14 kernel test robot [this message]
2024-04-17 23:51 ` [palmer:for-next 27/30] arch/riscv/mm/cacheflush.c:168:37: error: 'mm_context_t' has no member named 'icache_stale_mask' Charlie Jenkins
2024-04-18 15:12 ` Palmer Dabbelt
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=202404180621.qG7A9Tk0-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexghiti@rivosinc.com \
--cc=atishp@rivosinc.com \
--cc=charlie@rivosinc.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=palmer@rivosinc.com \
--cc=samuel.holland@sifive.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.