• Sudeep Holla's avatar
    firmware: arm_scmi: Add discovery of SCMI v2.0 performance fastchannels · ac8aaf34
    Sudeep Holla authored
    SCMI v2.0 adds support for "FastChannel", a lightweight unidirectional
    channel that is dedicated to a single SCMI message type for controlling
    a specific platform resource. They do not use a message header as they
    are specialized for a single message.
    
    Only PERFORMANCE_LIMITS_{SET,GET} and PERFORMANCE_LEVEL_{SET,GET}
    commands are supported over fastchannels. As they are optional, they
    need to be discovered by PERFORMANCE_DESCRIBE_FASTCHANNEL command.
    Further {LIMIT,LEVEL}_SET commands can have optional doorbell support.
    
    Add support for discovery of these fastchannels.
    
    Cc: Ionela Voinescu <Ionela.Voinescu@arm.com>
    Cc: Chris Redpath <Chris.Redpath@arm.com>
    Cc: Quentin Perret <Quentin.Perret@arm.com>
    Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    ac8aaf34
perf.c 15.6 KB