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]
Date: Fri, 3 May 2024 08:28:05 +0800
From: kernel test robot <lkp@...el.com>
To: Maksim Davydov <davydov-max@...dex-team.ru>, x86@...nel.org,
	linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, davydov-max@...dex-team.ru,
	den-plotnikov@...dex-team.ru, dave.hansen@...ux.intel.com,
	tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
	gpiccoli@...lia.com
Subject: Re: [PATCH v2] x86/split_lock: fix delayed detection enabling

Hi Maksim,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/x86/core]
[also build test WARNING on tip/master linus/master v6.9-rc6 next-20240502]
[cannot apply to tip/auto-latest]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Maksim-Davydov/x86-split_lock-fix-delayed-detection-enabling/20240502-183110
base:   tip/x86/core
patch link:    https://lore.kernel.org/r/20240502102731.84429-1-davydov-max%40yandex-team.ru
patch subject: [PATCH v2] x86/split_lock: fix delayed detection enabling
config: i386-buildonly-randconfig-005-20240503 (https://download.01.org/0day-ci/archive/20240503/202405030838.XyIfnymG-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405030838.XyIfnymG-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405030838.XyIfnymG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/cpu/intel.c:1113:13: warning: '__split_lock_reenable' defined but not used [-Wunused-function]
    1113 | static void __split_lock_reenable(struct work_struct *work)
         |             ^~~~~~~~~~~~~~~~~~~~~


vim +/__split_lock_reenable +1113 arch/x86/kernel/cpu/intel.c

727209376f4998 Guilherme G. Piccoli 2022-10-24  1112  
727209376f4998 Guilherme G. Piccoli 2022-10-24 @1113  static void __split_lock_reenable(struct work_struct *work)
727209376f4998 Guilherme G. Piccoli 2022-10-24  1114  {
727209376f4998 Guilherme G. Piccoli 2022-10-24  1115  	sld_update_msr(true);
727209376f4998 Guilherme G. Piccoli 2022-10-24  1116  }
73f2dbc05507dd Maksim Davydov       2024-05-02  1117  /*
73f2dbc05507dd Maksim Davydov       2024-05-02  1118   * In order for each CPU to schedule itself delayed work independently of the
73f2dbc05507dd Maksim Davydov       2024-05-02  1119   * others, delayed work struct should be per-CPU. This is not required when
73f2dbc05507dd Maksim Davydov       2024-05-02  1120   * sysctl_sld_mitigate is enabled because of the semaphore, that limits
73f2dbc05507dd Maksim Davydov       2024-05-02  1121   * the number of simultaneously scheduled delayed works to 1.
73f2dbc05507dd Maksim Davydov       2024-05-02  1122   */
73f2dbc05507dd Maksim Davydov       2024-05-02  1123  static DEFINE_PER_CPU(struct delayed_work, sl_reenable);
73f2dbc05507dd Maksim Davydov       2024-05-02  1124  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ