• Fenghua Yu's avatar
    x86, hwmon: Package Level Thermal/Power: power limit · 0199114c
    Fenghua Yu authored
    Power limit notification feature is published in Intel 64 and IA-32
    Architectures SDMV Vol 3A 14.5.6 Power Limit Notification.
    
    It is implemented first on Intel Sandy Bridge platform.
    
    The patch handles notification interrupt. Interrupt handler dumps power limit
    information in log_buf, logs the event in mce log, and increases the event
    counters (core_power_limit and package_power_limit). Upper level applications
    could use the data to detect system health or diagnose functionality/performance
    issues.
    
    In the future, the event could be handled in a more fancy way.
    Signed-off-by: default avatarFenghua Yu <fenghua.yu@intel.com>
    LKML-Reference: <1280448826-12004-5-git-send-email-fenghua.yu@intel.com>
    Reviewed-by: default avatarLen Brown <len.brown@intel.com>
    Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
    0199114c
therm_throt.c 13.2 KB