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: <202001161719.h48sPoGH%lkp@intel.com>
Date:   Thu, 16 Jan 2020 17:41:49 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Krzysztof Piecuch <piecuch@...tonmail.com>
Cc:     kbuild-all@...ts.01.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "juri.lelli@...hat.com" <juri.lelli@...hat.com>,
        "malat@...ian.org" <malat@...ian.org>,
        "piecuch@...tonmail.com" <piecuch@...tonmail.com>,
        Peter Zijlstra <peterz@...radead.org>,
        "mzhivich@...mai.com" <mzhivich@...mai.com>,
        "viresh.kumar@...aro.org" <viresh.kumar@...aro.org>,
        "drake@...lessm.com" <drake@...lessm.com>,
        "rafael.j.wysocki@...el.com" <rafael.j.wysocki@...el.com>,
        "x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
        "bp@...en8.de" <bp@...en8.de>,
        "mingo@...hat.com" <mingo@...hat.com>,
        "tglx@...utronix.de" <tglx@...utronix.de>
Subject: Re: [PATCH] x86/tsc: Add tsc_guess flag disabling CPUID.16h use for
 tsc calibration

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@...el.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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ