Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1480357
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support |
| Date | 2016-09-09 23:10 +0200 |
| Message-ID | <sfBdD-842-7@gated-at.bofh.it> (permalink) |
| References | <sfyfL-61P-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Harry,
[auto build test WARNING on v4.8-rc5]
[also build test WARNING on next-20160909]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Harry-Pan/perf-x86-rapl-Enable-Apollo-Lake-RAPL-support/20160910-015650
config: x86_64-randconfig-x008-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
arch/x86/events/intel/rapl.c: In function 'rapl_check_hw_unit':
>> arch/x86/events/intel/rapl.c:661:2: warning: enumeration value 'RAPL_NO_QUIRK' not handled in switch [-Wswitch]
switch (apply_quirk) {
^~~~~~
vim +/RAPL_NO_QUIRK +661 arch/x86/events/intel/rapl.c
645 rapl_hrtimer_init(pmu);
646 rapl_pmus->pmus[topology_logical_package_id(cpu)] = pmu;
647 return 0;
648 }
649
650 static int rapl_check_hw_unit(enum rapl_quirk apply_quirk)
651 {
652 u64 msr_rapl_power_unit_bits;
653 int i;
654
655 /* protect rdmsrl() to handle virtualization */
656 if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &msr_rapl_power_unit_bits))
657 return -1;
658 for (i = 0; i < NR_RAPL_DOMAINS; i++)
659 rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL;
660
> 661 switch (apply_quirk) {
662 case RAPL_HSX_QUIRK:
663 /*
664 * DRAM domain on HSW server and KNL has fixed energy unit
665 * which can be different than the unit from power unit MSR.
666 * See "Intel Xeon Processor E5-1600 and E5-2600 v3 Product
667 * Families, V2 of 2. Datasheet, September 2014,
668 * Reference Number: 330784-001"
669 */
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] perf/x86/rapl: Enable Apollo Lake RAPL support Harry Pan <harry.pan@intel.com> - 2016-09-09 20:00 +0200
[PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support Harry Pan <harry.pan@intel.com> - 2016-09-09 20:00 +0200
Re: [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support kbuild test robot <lkp@intel.com> - 2016-09-09 23:10 +0200
csiph-web