tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 7b3b2702f031a1a8368468aef621f12b23241185 commit: 824e3bf903140e215a2d4c8165ba0e3ced22548e [5032/30000] x86/perf: Add uncore performance monitor support for Zhaoxin CPUs :::::: branch date: 11 hours ago :::::: commit date: 2 years, 6 months ago config: x86_64-randconfig-122-20240130 (attached as .config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (attached as 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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202401310228.wuZdscKx-lkp@intel.com/
sparse warnings: (new ones prefixed by >>) arch/x86/events/zhaoxin/uncore.c: note: in included file (through arch/x86/include/asm/msr.h, arch/x86/include/asm/processor.h, arch/x86/include/asm/cpu_device_id.h):
arch/x86/include/asm/paravirt.h:204:9: sparse: sparse: cast truncates bits from constant value (10000000f becomes f)
vim +204 arch/x86/include/asm/paravirt.h
d3561b7fa0fb0fc include/asm-i386/paravirt.h Rusty Russell 2006-12-07 201 47edb65178cb705 arch/x86/include/asm/paravirt.h Andy Lutomirski 2015-07-23 202 static inline void wrmsrl(unsigned msr, u64 val) 47edb65178cb705 arch/x86/include/asm/paravirt.h Andy Lutomirski 2015-07-23 203 { 47edb65178cb705 arch/x86/include/asm/paravirt.h Andy Lutomirski 2015-07-23 @204 wrmsr(msr, (u32)val, (u32)(val>>32)); 47edb65178cb705 arch/x86/include/asm/paravirt.h Andy Lutomirski 2015-07-23 205 } 47edb65178cb705 arch/x86/include/asm/paravirt.h Andy Lutomirski 2015-07-23 206
:::::: The code at line 204 was first introduced by commit :::::: 47edb65178cb7056c2eea0b6c41a7d8c84547192 x86/asm/msr: Make wrmsrl() a function
:::::: TO: Andy Lutomirski luto@kernel.org :::::: CC: Ingo Molnar mingo@kernel.org