CC: [email protected]
BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: "Chang S. Bae" <[email protected]>
CC: Dave Hansen <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/fpu
head:   43843d58393026fef4a43d192b641a4fabdc42bf
commit: 407f1fd0780e39d60778a66c6a157d8c8c832729 [1/2] x86/fpu: Add a helper to 
prepare AMX state for low-power CPU idle
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-m021 
(https://download.01.org/0day-ci/archive/20220610/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
arch/x86/kernel/fpu/core.c:863 fpu_idle_fpregs() warn: bitwise AND condition is 
false here

vim +863 arch/x86/kernel/fpu/core.c

407f1fd0780e39 Chang S. Bae 2022-06-08  854  
407f1fd0780e39 Chang S. Bae 2022-06-08  855  /*
407f1fd0780e39 Chang S. Bae 2022-06-08  856   * Initialize register state that 
may prevent from entering low-power idle.
407f1fd0780e39 Chang S. Bae 2022-06-08  857   * This function will be invoked 
from the cpuidle driver only when needed.
407f1fd0780e39 Chang S. Bae 2022-06-08  858   */
407f1fd0780e39 Chang S. Bae 2022-06-08  859  void fpu_idle_fpregs(void)
407f1fd0780e39 Chang S. Bae 2022-06-08  860  {
407f1fd0780e39 Chang S. Bae 2022-06-08  861     /* Note: AMX_TILE being enabled 
implies XGETBV1 support */
407f1fd0780e39 Chang S. Bae 2022-06-08  862     if 
(cpu_feature_enabled(X86_FEATURE_AMX_TILE) &&
407f1fd0780e39 Chang S. Bae 2022-06-08 @863         (xfeatures_in_use() & 
XFEATURE_MASK_XTILE)) {

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to