From: Ken Cox Date: Mon, 28 Apr 2014 17:23:13 +0000 (-0500) Subject: Staging: unisys: detect s-Par firmware X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~721 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcd0157ece;p=pandora-kernel.git Staging: unisys: detect s-Par firmware This patch adds support for detection of s-Par firmware by checking for the hypervisor bit in the CPU capabilities, and then querying the hypervisor ID cpuid leaf. This functionality will be used by the unisys drivers to determine if they are being loaded on an s-Par platform and refuse to load if no s-Par firmware is present. This fixes a problem reported from upstream where a panic occurs if the unisys drivers are loaded on a non s-Par system. Reported-by: Fengguang Wu Signed-off-by: Ken Cox Tested by: Ken Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed