* [jcmvbkbc-xtensa:xtensa-5.19-rochester 12/13] arch/xtensa/mm/tlb.c:218:6: warning: no previous prototype for 'dump_tlb_entry'
@ 2022-07-24 19:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-24 19:54 UTC (permalink / raw)
To: Max Filippov; +Cc: kbuild-all, linux-kernel
tree: https://github.com/jcmvbkbc/linux-xtensa xtensa-5.19-rochester
head: a9635269505502dd939295e872fd5e6933ee9876
commit: 50e205d64d5f6b858c9b1447e258af4ad0d80b42 [12/13] WIP: xtensa: add dump_tlb
config: xtensa-buildonly-randconfig-r004-20220718 (https://download.01.org/0day-ci/archive/20220725/202207250312.HBDnpUhY-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/jcmvbkbc/linux-xtensa/commit/50e205d64d5f6b858c9b1447e258af4ad0d80b42
git remote add jcmvbkbc-xtensa https://github.com/jcmvbkbc/linux-xtensa
git fetch --no-tags jcmvbkbc-xtensa xtensa-5.19-rochester
git checkout 50e205d64d5f6b858c9b1447e258af4ad0d80b42
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash arch/xtensa/mm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/xtensa/mm/tlb.c:218:6: warning: no previous prototype for 'dump_tlb_entry' [-Wmissing-prototypes]
218 | void dump_tlb_entry(unsigned w, unsigned e, bool dtlb)
| ^~~~~~~~~~~~~~
>> arch/xtensa/mm/tlb.c:231:6: warning: no previous prototype for 'dump_tlb' [-Wmissing-prototypes]
231 | void dump_tlb(void)
| ^~~~~~~~
arch/xtensa/mm/tlb.c:292:6: warning: no previous prototype for 'check_tlb_sanity' [-Wmissing-prototypes]
292 | void check_tlb_sanity(void)
| ^~~~~~~~~~~~~~~~
vim +/dump_tlb_entry +218 arch/xtensa/mm/tlb.c
217
> 218 void dump_tlb_entry(unsigned w, unsigned e, bool dtlb)
219 {
220 unsigned tlbidx = w | (e << PAGE_SHIFT);
221 unsigned r0 = dtlb ?
222 read_dtlb_virtual(tlbidx) : read_itlb_virtual(tlbidx);
223 unsigned r1 = dtlb ?
224 read_dtlb_translation(tlbidx) : read_itlb_translation(tlbidx);
225 unsigned vpn = (r0 & PAGE_MASK) | (e << PAGE_SHIFT);
226
227 pr_info("%cTLB[%d][%d]: v=%08x, p=%08x, vaddr=%08x\n",
228 dtlb ? 'D' : 'I', w, e, r0, r1, vpn);
229 }
230
> 231 void dump_tlb(void)
232 {
233 unsigned w, e;
234
235 for (w = 7; w < 9; ++w)
236 for (e = 0; e < 4; ++e)
237 dump_tlb_entry(w, e, 1);
238 }
239
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-24 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 19:54 [jcmvbkbc-xtensa:xtensa-5.19-rochester 12/13] arch/xtensa/mm/tlb.c:218:6: warning: no previous prototype for 'dump_tlb_entry' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®