Skip to content

Commit

Permalink
include/lkvs: update "Uncore Frquency control" configs
Browse files Browse the repository at this point in the history
We used to set INTEL_UNCORE_FREQ_CONTROL as module, but somehow cannot
load it. Set them as built-in to validate if they can really work.

root@lkp-gnr-4sp1 /sys/devices/system/cpu# modprobe intel-uncore-frequency
modprobe: ERROR: could not insert 'intel_uncore_frequency': No such device

root@lkp-gnr-4sp1 /sys/devices/system/cpu# lsmod | grep intel-uncore-frequency
<-- nothing

drivers/platform/x86/intel/uncore-frequency/Kconfig

menu "Intel Uncore Frequency Control"
        depends on X86_64 || COMPILE_TEST

config INTEL_UNCORE_FREQ_CONTROL_TPMI
        tristate

config INTEL_UNCORE_FREQ_CONTROL
        tristate "Intel Uncore frequency control driver"
        depends on X86_64
        select INTEL_UNCORE_FREQ_CONTROL_TPMI if INTEL_TPMI
        help
          This driver allows control of Uncore frequency limits on
          supported server platforms.

          Uncore frequency controls RING/LLC (last-level cache) clocks.

          To compile this driver as a module, choose M here: the module
          will be called intel-uncore-frequency.

endmenu

== fix issue ==

ls: cannot access '/sys/bus/auxiliary/drivers/intel_uncore_frequency_tpmi': No such file or directory

Signed-off-by: Yujie Liu <yujie.liu@intel.com>
Signed-off-by: Philip Li <philip.li@intel.com>
  • Loading branch information
Yujie-Liu authored and rli9 committed May 21, 2024
1 parent 5d05e64 commit e4bfd18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/lkvs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ initrds+:
- linux_selftests

need_kconfig:
- INTEL_UNCORE_FREQ_CONTROL: m
- INTEL_UNCORE_FREQ_CONTROL: y
- INTEL_UNCORE_FREQ_CONTROL_TPMI: y
- INTEL_TPMI: y
- INTEL_VSEC: y
- X86_USER_SHADOW_STACK: y

0 comments on commit e4bfd18

Please sign in to comment.