Nathan Fontenot f0ff7eb483 powerpc/pseries: Update firmware_has_feature() to check architecture vector 5 bits
The firmware_has_feature() function makes it easy to check for supported
features of the hypervisor. This patch extends the capability of
firmware_has_feature() to include checking for specified bits
in vector 5 of the architecture vector as reported in the device tree.

As part of this the #defines used for the architecture vector are re-defined
such that each option has the index into vector 5 and the feature bit encoded
into it. This makes checking for architecture bits when initiating data
for firmware_has_feature much easier.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-04-26 16:08:22 +10:00
..
2013-04-23 16:05:05 +10:00
2013-04-23 16:05:05 +10:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2013-04-26 16:08:17 +10:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2012-09-30 23:31:19 -04:00
2012-09-30 23:31:19 -04:00
2013-04-18 15:59:58 +10:00
2011-03-31 11:26:23 -03:00
2013-02-22 23:31:31 -05:00
2012-11-15 15:02:44 +11:00
2013-04-18 13:03:53 +10:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2013-02-25 09:24:55 -05:00
2012-11-15 12:59:33 +11:00
2013-04-23 16:05:05 +10:00