linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Krzysztof Piecuch <piecuch@protonmail.com>
Cc: kbuild-all@lists.01.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"juri.lelli@redhat.com" <juri.lelli@redhat.com>,
	"malat@debian.org" <malat@debian.org>,
	"piecuch@protonmail.com" <piecuch@protonmail.com>,
	Peter Zijlstra <peterz@infradead.org>,
	"mzhivich@akamai.com" <mzhivich@akamai.com>,
	"viresh.kumar@linaro.org" <viresh.kumar@linaro.org>,
	"drake@endlessm.com" <drake@endlessm.com>,
	"rafael.j.wysocki@intel.com" <rafael.j.wysocki@intel.com>,
	"x86@kernel.org" <x86@kernel.org>,
	"hpa@zytor.com" <hpa@zytor.com>, "bp@alien8.de" <bp@alien8.de>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>
Subject: Re: [PATCH] x86/tsc: Add tsc_guess flag disabling CPUID.16h use for tsc calibration
Date: Thu, 16 Jan 2020 17:41:49 +0800	[thread overview]
Message-ID: <202001161719.h48sPoGH%lkp@intel.com> (raw)
In-Reply-To: <03j72W25Dne_HDSwI8Y7xiXPzvEBX5Ezw_xw8ed8DC83bpdMxoPcjhbinNcDD0yeoX9GGN691f3kqqtGLztTnW8Pay3FrbO5sTlj3vjnh-Y=@protonmail.com>

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

Hi Krzysztof,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on linux/master tip/x86/core linus/master v5.5-rc6 next-20200110]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Krzysztof-Piecuch/x86-tsc-Add-tsc_guess-flag-disabling-CPUID-16h-use-for-tsc-calibration/20200115-111400
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 425cc0b850aaaa121b4ddf32c029a72e7a260dfb
config: i386-randconfig-a003-20200115 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/tsc.c:62:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tsc_guess'
    static bool _read_mostly tsc_guess = 1;
                             ^
   arch/x86/kernel/tsc.c: In function 'tsc_guess_setup':
>> arch/x86/kernel/tsc.c:65:25: error: 'tsc_guess' undeclared (first use in this function)
     return strtobool(buf, &tsc_guess);
                            ^
   arch/x86/kernel/tsc.c:65:25: note: each undeclared identifier is reported only once for each function it appears in
   arch/x86/kernel/tsc.c: In function 'native_calibrate_tsc':
   arch/x86/kernel/tsc.c:664:26: error: 'tsc_guess' undeclared (first use in this function)
     if (crystal_khz == 0 && tsc_guess &&
                             ^
   arch/x86/kernel/tsc.c: In function 'cpu_khz_from_cpuid':
   arch/x86/kernel/tsc.c:703:43: error: 'tsc_guess' undeclared (first use in this function)
     if (boot_cpu_data.cpuid_level < 0x16 || !tsc_guess)
                                              ^
   arch/x86/kernel/tsc.c: In function 'tsc_guess_setup':
   arch/x86/kernel/tsc.c:66:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/tsc_guess +65 arch/x86/kernel/tsc.c

    61	
    62	static bool _read_mostly tsc_guess = 1;
    63	static int __init tsc_guess_setup(char *buf)
    64	{
  > 65		return strtobool(buf, &tsc_guess);
    66	}
    67	early_param("tsc_guess", tsc_guess_setup);
    68	

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

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

      parent reply	other threads:[~2020-01-16  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 14:23 [PATCH] x86/tsc: Add tsc_guess flag disabling CPUID.16h use for tsc calibration Krzysztof Piecuch
2020-01-15 20:15 ` Andy Lutomirski
2020-01-15 21:47 ` Thomas Gleixner
2020-01-16  7:38 ` kbuild test robot
2020-01-16  9:41 ` kbuild 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=202001161719.h48sPoGH%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bp@alien8.de \
    --cc=drake@endlessm.com \
    --cc=hpa@zytor.com \
    --cc=juri.lelli@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malat@debian.org \
    --cc=mingo@redhat.com \
    --cc=mzhivich@akamai.com \
    --cc=peterz@infradead.org \
    --cc=piecuch@protonmail.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=tglx@linutronix.de \
    --cc=viresh.kumar@linaro.org \
    --cc=x86@kernel.org \
    /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).