From: Vaidyanathan Srinivasan Date: Sun, 3 Aug 2014 09:24:05 +0000 (+0530) Subject: powerpc/cpufreq: Add pr_warn() on OPAL firmware failures X-Git-Tag: omap-for-v3.17/fixes-against-rc2~134^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6174bac8c7ff73a86ae9a967d1c9cadc478023ae;p=pandora-kernel.git powerpc/cpufreq: Add pr_warn() on OPAL firmware failures Cpufreq depends on platform firmware to implement PStates. In case of platform firmware failure, cpufreq should not panic host kernel with BUG_ON(). Less severe pr_warn() will suffice. Add firmware_has_feature(FW_FEATURE_OPALv3) check to skip probing for device-tree on non-powernv platforms. Signed-off-by: Vaidyanathan Srinivasan Acked-by: Gautham R. Shenoy CC: Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed