All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhangshaokun <zhangshaokun@hisilicon.com>
To: kbuild test robot <lkp@intel.com>
Cc: <mark.rutland@arm.com>, <linux-doc@vger.kernel.org>,
	<will.deacon@arm.com>, <linux-kernel@vger.kernel.org>,
	<linuxarm@huawei.com>, <kbuild-all@01.org>,
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 2/6] drivers: perf: hisi: Add support for HiSilicon SoC uncore PMU driver
Date: Wed, 28 Jun 2017 13:50:28 +0800	[thread overview]
Message-ID: <59d9ca29-6e57-3a9c-f6dc-fca3619dfacc@hisilicon.com> (raw)
In-Reply-To: <201706280909.xG39IHY4%fengguang.wu@intel.com>

Hi,

On 2017/6/28 9:49, kbuild test robot wrote:
> Hi Shaokun,
> 
> [auto build test ERROR on next-20170619]
> [also build test ERROR on v4.12-rc7]
> [cannot apply to linus/master linux/master arm64/for-next/core v4.12-rc6 v4.12-rc5 v4.12-rc4]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170628-070841
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/perf/hisilicon/hisi_uncore_pmu.c: In function 'hisi_read_scl_and_ccl_id':
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:72:10: error: implicit declaration of function 'read_cpuid_mpidr' [-Werror=implicit-function-declaration]
>      mpidr = read_cpuid_mpidr();
>              ^~~~~~~~~~~~~~~~
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:73:14: error: 'MPIDR_MT_BITMASK' undeclared (first use in this function)
>      if (mpidr & MPIDR_MT_BITMASK) {
>                  ^~~~~~~~~~~~~~~~
>    drivers/perf/hisilicon/hisi_uncore_pmu.c:73:14: note: each undeclared identifier is reported only once for each function it appears in
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:75:14: error: implicit declaration of function 'MPIDR_AFFINITY_LEVEL' [-Werror=implicit-function-declaration]
>        *scl_id = MPIDR_AFFINITY_LEVEL(mpidr, 3);
>                  ^~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
> 

Apologies for my modified drivers/perf/Kconfig for HISI_PMU.
It depends on ARM64 and i shall remove COMPILE_TEST to fix it.

Thanks.
Shaokun

> vim +/read_cpuid_mpidr +72 drivers/perf/hisilicon/hisi_uncore_pmu.c
> 
>     66	
>     67	/* Read Super CPU cluster and CPU cluster ID from MPIDR_EL1 */
>     68	void hisi_read_scl_and_ccl_id(u32 *scl_id, u32 *ccl_id)
>     69	{
>     70		u64 mpidr;
>     71	
>   > 72		mpidr = read_cpuid_mpidr();
>   > 73		if (mpidr & MPIDR_MT_BITMASK) {
>     74			if (scl_id)
>   > 75				*scl_id = MPIDR_AFFINITY_LEVEL(mpidr, 3);
>     76			if (ccl_id)
>     77				*ccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 2);
>     78		} else {
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
> 
> 
> _______________________________________________
> linuxarm mailing list
> linuxarm@huawei.com
> http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm
> 

WARNING: multiple messages have this Message-ID (diff)
From: zhangshaokun@hisilicon.com (Zhangshaokun)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] drivers: perf: hisi: Add support for HiSilicon SoC uncore PMU driver
Date: Wed, 28 Jun 2017 13:50:28 +0800	[thread overview]
Message-ID: <59d9ca29-6e57-3a9c-f6dc-fca3619dfacc@hisilicon.com> (raw)
In-Reply-To: <201706280909.xG39IHY4%fengguang.wu@intel.com>

Hi,

On 2017/6/28 9:49, kbuild test robot wrote:
> Hi Shaokun,
> 
> [auto build test ERROR on next-20170619]
> [also build test ERROR on v4.12-rc7]
> [cannot apply to linus/master linux/master arm64/for-next/core v4.12-rc6 v4.12-rc5 v4.12-rc4]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170628-070841
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/perf/hisilicon/hisi_uncore_pmu.c: In function 'hisi_read_scl_and_ccl_id':
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:72:10: error: implicit declaration of function 'read_cpuid_mpidr' [-Werror=implicit-function-declaration]
>      mpidr = read_cpuid_mpidr();
>              ^~~~~~~~~~~~~~~~
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:73:14: error: 'MPIDR_MT_BITMASK' undeclared (first use in this function)
>      if (mpidr & MPIDR_MT_BITMASK) {
>                  ^~~~~~~~~~~~~~~~
>    drivers/perf/hisilicon/hisi_uncore_pmu.c:73:14: note: each undeclared identifier is reported only once for each function it appears in
>>> drivers/perf/hisilicon/hisi_uncore_pmu.c:75:14: error: implicit declaration of function 'MPIDR_AFFINITY_LEVEL' [-Werror=implicit-function-declaration]
>        *scl_id = MPIDR_AFFINITY_LEVEL(mpidr, 3);
>                  ^~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
> 

Apologies for my modified drivers/perf/Kconfig for HISI_PMU.
It depends on ARM64 and i shall remove COMPILE_TEST to fix it.

Thanks.
Shaokun

> vim +/read_cpuid_mpidr +72 drivers/perf/hisilicon/hisi_uncore_pmu.c
> 
>     66	
>     67	/* Read Super CPU cluster and CPU cluster ID from MPIDR_EL1 */
>     68	void hisi_read_scl_and_ccl_id(u32 *scl_id, u32 *ccl_id)
>     69	{
>     70		u64 mpidr;
>     71	
>   > 72		mpidr = read_cpuid_mpidr();
>   > 73		if (mpidr & MPIDR_MT_BITMASK) {
>     74			if (scl_id)
>   > 75				*scl_id = MPIDR_AFFINITY_LEVEL(mpidr, 3);
>     76			if (ccl_id)
>     77				*ccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 2);
>     78		} else {
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
> 
> 
> _______________________________________________
> linuxarm mailing list
> linuxarm at huawei.com
> http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm
> 

  reply	other threads:[~2017-06-28  5:51 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-27  8:26 [PATCH 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver Shaokun Zhang
2017-06-27  8:26 ` Shaokun Zhang
2017-06-27  8:26 ` [PATCH 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang
2017-06-27  8:26 ` [PATCH 2/6] drivers: perf: hisi: Add support for HiSilicon SoC uncore " Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang
2017-06-28  1:49   ` kbuild test robot
2017-06-28  1:49     ` kbuild test robot
2017-06-28  5:50     ` Zhangshaokun [this message]
2017-06-28  5:50       ` Zhangshaokun
2017-06-27  8:26 ` [PATCH 3/6] drivers: perf: hisi: Add support for HiSilicon SoC L3C " Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang
2017-06-28  9:21   ` kbuild test robot
2017-06-28  9:21     ` kbuild test robot
2017-06-28  9:21   ` [PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings kbuild test robot
2017-06-28  9:21     ` kbuild test robot
2017-06-27  8:26 ` [PATCH 4/6] drivers: perf: hisi: Add support for HiSilicon SoC HHA PMU driver Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang
2017-06-28  9:56   ` [PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings kbuild test robot
2017-06-28  9:56     ` kbuild test robot
2017-06-28  9:56   ` [PATCH 4/6] drivers: perf: hisi: Add support for HiSilicon SoC HHA PMU driver kbuild test robot
2017-06-28  9:56     ` kbuild test robot
2017-06-28 10:55     ` John Garry
2017-06-28 10:55       ` John Garry
2017-06-27  8:26 ` [PATCH 5/6] drivers: perf: hisi: Add support for HiSilicon SoC DDRC " Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang
2017-06-28 10:42   ` kbuild test robot
2017-06-28 10:42     ` kbuild test robot
2017-06-28 10:42   ` [PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings kbuild test robot
2017-06-28 10:42     ` kbuild test robot
2017-06-27  8:26 ` [PATCH 6/6] arm64: MAINTAINERS: hisi: Add HiSilicon SoC PMU support Shaokun Zhang
2017-06-27  8:26   ` Shaokun Zhang

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=59d9ca29-6e57-3a9c-f6dc-fca3619dfacc@hisilicon.com \
    --to=zhangshaokun@hisilicon.com \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=lkp@intel.com \
    --cc=mark.rutland@arm.com \
    --cc=will.deacon@arm.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.