mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Leo Yan <leo.yan@linaro.org>
Cc: kbuild-all@01.org, Jonathan Corbet <corbet@lwn.net>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Liviu Dudau <liviu.dudau@arm.com>, Wei Xu <xuwei5@hisilicon.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Andy Gross <andy.gross@linaro.org>,
	David Brown <david.brown@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
	Stephen Boyd <sboyd@codeaurora.org>,
	Mike Leach <mike.leach@linaro.org>, Leo Yan <leo.yan@linaro.org>
Subject: Re: [PATCH v11 7/9] coresight: add support for CPU debug module
Date: Wed, 24 May 2017 21:55:28 +0800	[thread overview]
Message-ID: <201705242111.zHlVfVnY%fengguang.wu@intel.com> (raw)
In-Reply-To: <1495548980-30432-8-git-send-email-leo.yan@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

Hi Leo,

[auto build test WARNING on next-20170522]
[cannot apply to linus/master linux/master robh/for-next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc2]
[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/Leo-Yan/coresight-enable-debug-module/20170524-075217
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/hwtracing/coresight/coresight-cpu-debug.c: In function 'debug_adjust_pc':
>> drivers/hwtracing/coresight/coresight-cpu-debug.c:263:44: warning: left shift count >= width of type [-Wshift-count-overflow]
      return (unsigned long)drvdata->edpcsr_hi << 32 |
                                               ^~

vim +263 drivers/hwtracing/coresight/coresight-cpu-debug.c

   247		if (drvdata->edvidsr_present)
   248			drvdata->edvidsr = readl_relaxed(drvdata->base + EDVIDSR);
   249	
   250	out:
   251		/* Restore EDPRCR register */
   252		writel_relaxed(save_edprcr, drvdata->base + EDPRCR);
   253	
   254		CS_LOCK(drvdata->base);
   255	}
   256	
   257	static unsigned long debug_adjust_pc(struct debug_drvdata *drvdata)
   258	{
   259		unsigned long arm_inst_offset = 0, thumb_inst_offset = 0;
   260		unsigned long pc;
   261	
   262		if (IS_ENABLED(CONFIG_64BIT))
 > 263			return (unsigned long)drvdata->edpcsr_hi << 32 |
   264			       (unsigned long)drvdata->edpcsr;
   265	
   266		pc = (unsigned long)drvdata->edpcsr;
   267	
   268		if (drvdata->pc_has_offset) {
   269			arm_inst_offset = 8;
   270			thumb_inst_offset = 4;
   271		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62479 bytes --]

  parent reply	other threads:[~2017-05-24 13:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 14:16 [PATCH v11 0/9] coresight: enable " Leo Yan
2017-05-23 14:16 ` [PATCH v11 1/9] coresight: bindings for CPU " Leo Yan
2017-05-23 14:16 ` [PATCH v11 2/9] doc: Add documentation for Coresight CPU debug Leo Yan
2017-05-23 14:16 ` [PATCH v11 3/9] doc: Add coresight_cpu_debug.enable to kernel-parameters.txt Leo Yan
2017-05-23 14:16 ` [PATCH v11 4/9] MAINTAINERS: update file entries for Coresight subsystem Leo Yan
2017-05-23 14:16 ` [PATCH v11 5/9] coresight: of_get_coresight_platform_data: Add missing of_node_put Leo Yan
2017-05-23 14:16 ` [PATCH v11 6/9] coresight: refactor with function of_coresight_get_cpu Leo Yan
2017-05-23 14:16 ` [PATCH v11 7/9] coresight: add support for CPU debug module Leo Yan
2017-05-23 17:39   ` Mathieu Poirier
2017-05-24  0:14     ` Leo Yan
2017-05-24 13:55   ` kbuild test robot [this message]
2017-05-23 14:16 ` [PATCH v11 8/9] arm64: dts: hi6220: register " Leo Yan
2017-05-23 16:29   ` Mathieu Poirier
2017-05-23 14:16 ` [PATCH v11 9/9] arm64: dts: qcom: msm8916: Add debug unit Leo Yan
2017-05-23 16:31   ` Mathieu Poirier

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=201705242111.zHlVfVnY%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.gross@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=corbet@lwn.net \
    --cc=david.brown@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=liviu.dudau@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=mike.leach@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=suzuki.poulose@arm.com \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.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

all inboxes | Powered by JetHome®