Error handling if no DTS sensor present

If there is no sysfs or DTS sensor, bail out.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Disable DBUS by default

Unless enabled disable DBUS interface.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Error handling if MSR read failed

When MSR read fails, bail out of corresponding P state control.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
If core temp path is not found switch to hwmon

On some older kernel the /sys/device/platorm/core.x is not present,
so try /sys/class/hwmon.
Also if there is no tempx_max for activating cooling devices,
use tempx_crit and add a negative offset.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Compile error on some older sytems

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Error handling when MSR access is failed

When none of the MSR access is not available and RAPL, Intel P state
driver od power clamp driver not present, default to cpufreq.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>