From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 6/7] RAS/CEC: Add CPU Correctable Error Collector to isolate an erroneous CPU core
Date: Sat, 03 Oct 2020 00:54:26 +0800 [thread overview]
Message-ID: <202010030053.vHMK1MyL-lkp@intel.com> (raw)
In-Reply-To: <20201002122235.1280-7-shiju.jose@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 3201 bytes --]
Hi Shiju,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on pm/linux-next]
[also build test ERROR on arm64/for-next/core linux/master linus/master v5.9-rc7]
[cannot apply to next-20201002]
[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/Shiju-Jose/RAS-CEC-Extend-CEC-for-errors-count-check-on-short-time-period/20201002-203258
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-a013-20201002 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/997e6e12af74d446b6b868f0e39a9e6b9c96a2d9
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Shiju-Jose/RAS-CEC-Extend-CEC-for-errors-count-check-on-short-time-period/20201002-203258
git checkout 997e6e12af74d446b6b868f0e39a9e6b9c96a2d9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/ras/cec.c: In function 'cec_cpu_offline_work_fn':
>> drivers/ras/cec.c:514:7: error: implicit declaration of function 'remove_cpu' [-Werror=implicit-function-declaration]
514 | rc = remove_cpu(cpu);
| ^~~~~~~~~~
In file included from include/linux/debugfs.h:16,
from drivers/ras/debugfs.h:5,
from drivers/ras/cec.c:17:
At top level:
drivers/ras/cec.c:655:23: warning: 'cec_cpu_stats_fops' defined but not used [-Wunused-const-variable=]
655 | DEFINE_SHOW_ATTRIBUTE(cec_cpu_stats);
| ^~~~~~~~~~~~~
include/linux/seq_file.h:173:37: note: in definition of macro 'DEFINE_SHOW_ATTRIBUTE'
173 | static const struct file_operations __name ## _fops = { \
| ^~~~~~
cc1: some warnings being treated as errors
vim +/remove_cpu +514 drivers/ras/cec.c
497
498 /*
499 * Work function to offline a cpu because the offlining to be done
500 * in the process context.
501 */
502 static void cec_cpu_offline_work_fn(struct work_struct *work)
503 {
504 int rc, cpu;
505 struct cec_elem_offline *elem;
506 struct ce_array *ca;
507
508 elem = container_of(work, struct cec_elem_offline, work);
509
510 cpu = elem->elem_id;
511 if (!cpu_online(cpu))
512 return;
513
> 514 rc = remove_cpu(cpu);
515 if (rc) {
516 pr_warn("Failed to offline CPU%d, error %d\n", cpu, rc);
517 } else {
518 ca = elem->ca;
519 ca->array[elem->array_index] |= ELEM_STATUS_BIT;
520 }
521
522 kfree(elem);
523 }
524
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41376 bytes --]
next prev parent reply other threads:[~2020-10-02 16:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 12:22 [RFC PATCH 0/7] RAS/CEC: Extend CEC for errors count check on short time period Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 1/7] RAS/CEC: Replace the macro PFN with ELEM_NO Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 2/7] RAS/CEC: Replace pfns_poisoned with elems_poisoned Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 3/7] RAS/CEC: Move X86 MCE specific code under CONFIG_X86_MCE Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 4/7] RAS/CEC: Modify cec_mod_work() for common use Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 5/7] RAS/CEC: Add support for errors count check on short time period Shiju Jose
2020-10-02 12:22 ` [RFC PATCH 6/7] RAS/CEC: Add CPU Correctable Error Collector to isolate an erroneous CPU core Shiju Jose
2020-10-02 16:54 ` kernel test robot [this message]
2020-10-02 20:33 ` kernel test robot
2020-10-02 12:22 ` [RFC PATCH 7/7] ACPI / APEI: Add reporting ARM64 CPU correctable errors to the CEC Shiju Jose
2020-10-02 12:43 ` [RFC PATCH 0/7] RAS/CEC: Extend CEC for errors count check on short time period Borislav Petkov
2020-10-02 15:38 ` Shiju Jose
2020-10-02 17:33 ` James Morse
2020-10-02 18:02 ` Borislav Petkov
2020-10-06 16:13 ` Shiju Jose
2020-10-07 16:45 ` James Morse
2020-10-02 16:04 ` Luck, Tony
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=202010030053.vHMK1MyL-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.