lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201705242111.zHlVfVnY%fengguang.wu@intel.com>
Date:   Wed, 24 May 2017 21:55:28 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Leo Yan <leo.yan@...aro.org>
Cc:     kbuild-all@...org, Jonathan Corbet <corbet@....net>,
        Mathieu Poirier <mathieu.poirier@...aro.org>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Liviu Dudau <liviu.dudau@....com>,
        Wei Xu <xuwei5@...ilicon.com>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will.deacon@....com>,
        Andy Gross <andy.gross@...aro.org>,
        David Brown <david.brown@...aro.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Suzuki K Poulose <suzuki.poulose@....com>,
        linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
        linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
        Stephen Boyd <sboyd@...eaurora.org>,
        Mike Leach <mike.leach@...aro.org>,
        Leo Yan <leo.yan@...aro.org>
Subject: Re: [PATCH v11 7/9] coresight: add support for CPU debug module

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

Download attachment ".config.gz" of type "application/gzip" (62479 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ