From: kernel test robot <lkp@intel.com>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>, linux-mips@vger.kernel.org
Cc: kbuild-all@lists.01.org, "Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Huacai Chen" <chenhc@lemote.com>,
"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
"Paul Burton" <paulburton@kernel.org>,
"Serge Semin" <Sergey.Semin@baikalelectronics.ru>,
"WANG Xuerui" <git@xen0n.name>,
"周琰杰 (Zhou Yanjie)" <zhouyanjie@wanyeetech.com>,
"Liangliang Huang" <huanglllzu@gmail.com>
Subject: Re: [PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly
Date: Mon, 17 Aug 2020 14:04:15 +0800 [thread overview]
Message-ID: <202008171308.gyyTCfLh%lkp@intel.com> (raw)
In-Reply-To: <20200817034701.3515721-2-jiaxun.yang@flygoat.com>
[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]
Hi Jiaxun,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.9-rc1 next-20200817]
[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]
url: https://github.com/0day-ci/linux/commits/Jiaxun-Yang/R4000-clock-enhancements-for-Loongson/20200817-115351
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/mips/kernel/sync-r4k.c:28:6: warning: no previous prototype for 'synchronise_count_master' [-Wmissing-prototypes]
28 | void synchronise_count_master(void *unused)
| ^~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/6c760a310d6f07efede56e732f3de2e2a944e361
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jiaxun-Yang/R4000-clock-enhancements-for-Loongson/20200817-115351
git checkout 6c760a310d6f07efede56e732f3de2e2a944e361
vim +/synchronise_count_master +28 arch/mips/kernel/sync-r4k.c
27
> 28 void synchronise_count_master(void *unused)
29 {
30 unsigned long flags;
31 long delta;
32 int i;
33
34 if (atomic_read(&sync_stage) != STAGE_START)
35 BUG();
36
37 local_irq_save(flags);
38
39 cur_count = read_c0_count();
40 smp_wmb();
41 atomic_inc(&sync_stage); /* inc to STAGE_MASTER_READY */
42
43 for (i = 0; i < MAX_LOOPS; i++) {
44 cur_count = read_c0_count();
45 smp_wmb();
46 if (atomic_read(&sync_stage) == STAGE_SLAVE_SYNCED)
47 break;
48 }
49
50 delta = read_c0_count() - fini_count;
51
52 local_irq_restore(flags);
53
54 if (i == MAX_LOOPS)
55 pr_err("sync-r4k: Master: synchronise timeout\n");
56 else
57 pr_info("sync-r4k: Master: synchronise succeed, maximum delta: %ld\n", delta);
58
59 return;
60 }
61
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67639 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly
Date: Mon, 17 Aug 2020 14:04:15 +0800 [thread overview]
Message-ID: <202008171308.gyyTCfLh%lkp@intel.com> (raw)
In-Reply-To: <20200817034701.3515721-2-jiaxun.yang@flygoat.com>
[-- Attachment #1: Type: text/plain, Size: 2797 bytes --]
Hi Jiaxun,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.9-rc1 next-20200817]
[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]
url: https://github.com/0day-ci/linux/commits/Jiaxun-Yang/R4000-clock-enhancements-for-Loongson/20200817-115351
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/mips/kernel/sync-r4k.c:28:6: warning: no previous prototype for 'synchronise_count_master' [-Wmissing-prototypes]
28 | void synchronise_count_master(void *unused)
| ^~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/6c760a310d6f07efede56e732f3de2e2a944e361
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jiaxun-Yang/R4000-clock-enhancements-for-Loongson/20200817-115351
git checkout 6c760a310d6f07efede56e732f3de2e2a944e361
vim +/synchronise_count_master +28 arch/mips/kernel/sync-r4k.c
27
> 28 void synchronise_count_master(void *unused)
29 {
30 unsigned long flags;
31 long delta;
32 int i;
33
34 if (atomic_read(&sync_stage) != STAGE_START)
35 BUG();
36
37 local_irq_save(flags);
38
39 cur_count = read_c0_count();
40 smp_wmb();
41 atomic_inc(&sync_stage); /* inc to STAGE_MASTER_READY */
42
43 for (i = 0; i < MAX_LOOPS; i++) {
44 cur_count = read_c0_count();
45 smp_wmb();
46 if (atomic_read(&sync_stage) == STAGE_SLAVE_SYNCED)
47 break;
48 }
49
50 delta = read_c0_count() - fini_count;
51
52 local_irq_restore(flags);
53
54 if (i == MAX_LOOPS)
55 pr_err("sync-r4k: Master: synchronise timeout\n");
56 else
57 pr_info("sync-r4k: Master: synchronise succeed, maximum delta: %ld\n", delta);
58
59 return;
60 }
61
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 67639 bytes --]
next prev parent reply other threads:[~2020-08-17 6:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-17 3:46 [PATCH 0/7] R4000 clock enhancements for Loongson Jiaxun Yang
2020-08-17 3:46 ` [PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly Jiaxun Yang
2020-08-17 6:04 ` kernel test robot [this message]
2020-08-17 6:04 ` kernel test robot
2020-08-17 7:55 ` peterz
2020-08-21 15:32 ` kernel test robot
2020-08-21 15:32 ` kernel test robot
2020-08-17 3:46 ` [PATCH 2/7] MIPS: time: Use CPUHUP to handle r4k timer Jiaxun Yang
2020-08-17 3:46 ` [PATCH 3/7] MIPS: Kconfig: Always select SYNC_R4K if both SMP and r4k timer is enabled Jiaxun Yang
2020-08-17 3:46 ` [PATCH 4/7] MIPS: Loongson64: Remove custom count sync procudure Jiaxun Yang
2020-08-17 3:46 ` [PATCH 5/7] MIPS: cevt-r4k: Don't handle IRQ if clockevent is not enabled Jiaxun Yang
2020-08-17 3:46 ` [PATCH 6/7] MIPS: cevt-r4k: Enable intimer for Loongson CPUs with extimer Jiaxun Yang
2020-08-17 3:46 ` [PATCH 7/7] MIPS: KVM: Don't use htimer when INTIMER is disabled Jiaxun 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=202008171308.gyyTCfLh%lkp@intel.com \
--to=lkp@intel.com \
--cc=Sergey.Semin@baikalelectronics.ru \
--cc=aleksandar.qemu.devel@gmail.com \
--cc=chenhc@lemote.com \
--cc=git@xen0n.name \
--cc=huanglllzu@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mips@vger.kernel.org \
--cc=paulburton@kernel.org \
--cc=tsbogend@alpha.franken.de \
--cc=zhouyanjie@wanyeetech.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.