• Juri Lelli's avatar
    arm64: add sysfs cpu_capacity attribute · be8f185d
    Juri Lelli authored
    Add a sysfs cpu_capacity attribute with which it is possible to read and
    write (thus over-writing default values) CPUs capacity. This might be
    useful in situations where values needs changing after boot.
    
    The new attribute shows up as:
    
     /sys/devices/system/cpu/cpu*/cpu_capacity
    
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Sudeep Holla <sudeep.holla@arm.com>
    Signed-off-by: default avatarJuri Lelli <juri.lelli@arm.com>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    be8f185d
topology.c 12 KB