tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0f1fa5848ab32d269a2030caac618bd6a99ab3f3
commit: 24633d901ea44fe99bc9a2d01a3881fa097b78b3 [1082/1262] perf/x86/intel/uncore: Add BW
counters for GT, IA and IO breakdown
config: x86_64-randconfig-r034-20200817 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 24633d901ea44fe99bc9a2d01a3881fa097b78b3
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/x86/events/intel/uncore_snb.c:441:37: warning: initialized
field overwritten [-Woverride-init]
441 | [SNB_PCI_UNCORE_IMC_DATA_READS] = {
SNB_UNCORE_PCI_IMC_DATA_WRITES_BASE,
| ^
arch/x86/events/intel/uncore_snb.c:441:37: note: (near initialization for
'snb_uncore_imc_freerunning[0]')
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 24633d901ea44fe99bc9a2d01a3881fa097b78b3
vim +441 arch/x86/events/intel/uncore_snb.c
437
438 static struct freerunning_counters snb_uncore_imc_freerunning[] = {
439 [SNB_PCI_UNCORE_IMC_DATA_READS] = { SNB_UNCORE_PCI_IMC_DATA_READS_BASE,
440 0x0, 0x0, 1, 32 },
441 [SNB_PCI_UNCORE_IMC_DATA_READS] = {
SNB_UNCORE_PCI_IMC_DATA_WRITES_BASE,
442 0x0, 0x0, 1, 32 },
443 [SNB_PCI_UNCORE_IMC_GT_REQUESTS] = { SNB_UNCORE_PCI_IMC_GT_REQUESTS_BASE,
444 0x0, 0x0, 1, 32 },
445 [SNB_PCI_UNCORE_IMC_IA_REQUESTS] = { SNB_UNCORE_PCI_IMC_IA_REQUESTS_BASE,
446 0x0, 0x0, 1, 32 },
447 [SNB_PCI_UNCORE_IMC_IO_REQUESTS] = { SNB_UNCORE_PCI_IMC_IO_REQUESTS_BASE,
448 0x0, 0x0, 1, 32 },
449 };
450
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org