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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202008280326.O6kOHfWU%lkp@intel.com>
Date:   Fri, 28 Aug 2020 03:08:59 +0800
From:   kernel test robot <lkp@...el.com>
To:     vincent.donnefort@....com, mingo@...hat.com, peterz@...radead.org,
        vincent.guittot@...aro.org
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, dietmar.eggemann@....com,
        valentin.schneider@....com, qais.yousef@....com,
        Vincent Donnefort <vincent.donnefort@....com>
Subject: Re: [PATCH] sched/debug: Add new tracepoint to track cpu_capacity

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/perf/core tip/auto-latest linus/master v5.9-rc2 next-20200827]
[cannot apply to linux/master]
[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/vincent-donnefort-arm-com/sched-debug-Add-new-tracepoint-to-track-cpu_capacity/20200827-233803
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 4fc472f1214ef75e5450f207e23ff13af6eecad4
config: x86_64-randconfig-a015-20200827 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 71f3169e1baeff262583b35ef88f8fb6df7be85e)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> kernel/sched/fair.c:11314:18: error: no member named 'cpu_capacity' in 'struct rq'
           return rq ? rq->cpu_capacity : -1;
                       ~~  ^
   1 error generated.

# https://github.com/0day-ci/linux/commit/85b324a307f8d602382ecbfb149f6411eb99bd03
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review vincent-donnefort-arm-com/sched-debug-Add-new-tracepoint-to-track-cpu_capacity/20200827-233803
git checkout 85b324a307f8d602382ecbfb149f6411eb99bd03
vim +11314 kernel/sched/fair.c

 11311	
 11312	int sched_trace_rq_cpu_capacity(struct rq *rq)
 11313	{
 11314		return rq ? rq->cpu_capacity : -1;
 11315	}
 11316	EXPORT_SYMBOL_GPL(sched_trace_rq_cpu_capacity);
 11317	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ