• E
    cpufreq: intel_pstate: Add reasons for failure and debug messages · 076b862c
    Erwan Velu 提交于
    The init code path has several exceptions where the driver can
    decide not to load.
    
    As CONFIG_X86_INTEL_PSTATE is generally set to Y, the return code is
    not reachable.  The initialization code is neither verbose of the
    reason why it did choose to prematurely exit, so it is difficult for
    a user to determine, on a given platform, why the driver didn't load
    properly.
    
    This patch is about reporting to the user the reason/context of why
    the driver failed to load.  That is a precious hint when debugging
    a platform.
    Signed-off-by: NErwan Velu <e.velu@criteo.com>
    [ rjw: Subject & changelog, minor fixups ]
    Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
    076b862c
intel_pstate.c 66.6 KB