• Varun Wadekar's avatar
    Tegra186: mce: add the mce_update_cstate_info() helper function · 87a1df73
    Varun Wadekar authored
    
    
    This patch adds a helper function to the MCE driver to allow its
    clients to issue UPDATE_CSTATE_INFO requests, without having to
    setup the CPU context struct.
    
    We introduced a struct to encapsulate the request parameters, that
    clients can pass on to the MCE driver. The MCE driver gets the
    parameters from the struct and programs the hardware accordingly.
    
    Change-Id: I02bce57506c4ccd90da82127805d6b564375cbf1
    Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
    87a1df73
mce.h 14.3 KB