• Sudeep Holla's avatar
    firmware: arm_scmi: add initial support for performance protocol · a9e3fbfa
    Sudeep Holla authored
    The performance protocol is intended for the performance management of
    group(s) of device(s) that run in the same performance domain. It
    includes even the CPUs. A performance domain is defined by a set of
    devices that always have to run at the same performance level.
    For example, a set of CPUs that share a voltage domain, and have a
    common frequency control, is said to be in the same performance domain.
    
    The commands in this protocol provide functionality to describe the
    protocol version, describe various attribute flags, set and get the
    performance level of a domain. It also supports discovery of the list
    of performance levels supported by a performance domain, and the
    properties of each performance level.
    
    This patch adds basic support for the performance protocol.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    a9e3fbfa
perf.c 11.1 KB