From: kernel test robot <lkp@intel.com>
To: Athira Rajeev <atrajeev@linux.vnet.ibm.com>, mpe@ellerman.id.au
Cc: nathanl@linux.ibm.com, maddy@linux.vnet.ibm.com,
kbuild-all@lists.01.org, rnsastry@linux.ibm.com,
kjain@linux.ibm.com, npiggin@gmail.com,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active
Date: Fri, 29 Oct 2021 18:20:19 +0800 [thread overview]
Message-ID: <202110291844.5M0pZJ24-lkp@intel.com> (raw)
In-Reply-To: <20211029030510.58797-1-atrajeev@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 3091 bytes --]
Hi Athira,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on tip/perf/core v5.15-rc7 next-20211028]
[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/Athira-Rajeev/powerpc-perf-Enable-PMU-counters-post-partition-migration-if-PMU-is-active/20211029-110804
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc64-randconfig-r003-20211028 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/caeb6bb8d2f36e6b15151587193c1e0a9e62ab16
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Athira-Rajeev/powerpc-perf-Enable-PMU-counters-post-partition-migration-if-PMU-is-active/20211029-110804
git checkout caeb6bb8d2f36e6b15151587193c1e0a9e62ab16
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/
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 >>):
arch/powerpc/platforms/pseries/mobility.c: In function 'pseries_migrate_partition':
>> arch/powerpc/platforms/pseries/mobility.c:670:22: error: 'mobility_pmu_disable' undeclared (first use in this function)
670 | on_each_cpu(&mobility_pmu_disable, NULL, 0);
| ^~~~~~~~~~~~~~~~~~~~
arch/powerpc/platforms/pseries/mobility.c:670:22: note: each undeclared identifier is reported only once for each function it appears in
>> arch/powerpc/platforms/pseries/mobility.c:679:22: error: 'mobility_pmu_enable' undeclared (first use in this function)
679 | on_each_cpu(&mobility_pmu_enable, NULL, 0);
| ^~~~~~~~~~~~~~~~~~~
vim +/mobility_pmu_disable +670 arch/powerpc/platforms/pseries/mobility.c
660
661 static int pseries_migrate_partition(u64 handle)
662 {
663 int ret;
664
665 ret = wait_for_vasi_session_suspending(handle);
666 if (ret)
667 return ret;
668
669 /* Disable PMU before suspend */
> 670 on_each_cpu(&mobility_pmu_disable, NULL, 0);
671
672 ret = pseries_suspend(handle);
673 if (ret == 0)
674 post_mobility_fixup();
675 else
676 pseries_cancel_migration(handle, ret);
677
678 /* Enable PMU after resuming */
> 679 on_each_cpu(&mobility_pmu_enable, NULL, 0);
680
681 return ret;
682 }
683
---
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: 36333 bytes --]
prev parent reply other threads:[~2021-10-29 10:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 3:05 [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active Athira Rajeev
2021-10-29 6:16 ` Nicholas Piggin
2021-10-29 13:15 ` Michael Ellerman
2021-11-02 11:00 ` Athira Rajeev
2021-11-02 11:35 ` Nicholas Piggin
2021-11-03 21:11 ` Nathan Lynch
2021-11-04 5:55 ` Michael Ellerman
2021-11-05 1:46 ` Nicholas Piggin
2021-11-02 6:13 ` Athira Rajeev
2021-10-29 10:20 ` kernel test robot [this message]
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=202110291844.5M0pZJ24-lkp@intel.com \
--to=lkp@intel.com \
--cc=atrajeev@linux.vnet.ibm.com \
--cc=kbuild-all@lists.01.org \
--cc=kjain@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.vnet.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=nathanl@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=rnsastry@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).