0fbd96
commit de05a9d88794fad1c94b9cb12215142e61e15a16
0fbd96
Author: Asim YarKhan <yarkhan@icl.utk.edu>
0fbd96
Date:   Thu Oct 16 12:50:43 2014 -0400
0fbd96
0fbd96
    PPC64 add support for the Power non virtualized platform
0fbd96
    
0fbd96
    Thanks to Carl Love for this patch and the following description:
0fbd96
    The Power 8 system can be run as a non-virtualized machine.  In
0fbd96
    this case, the platform is "PowerNV".  This patch adds the platform
0fbd96
    to the possible IBM platform types.
0fbd96
0fbd96
diff --git a/src/linux-common.c b/src/linux-common.c
0fbd96
index 614a83c2..85af7005 100644
0fbd96
--- a/src/linux-common.c
0fbd96
+++ b/src/linux-common.c
0fbd96
@@ -225,6 +225,7 @@ _linux_get_cpu_info( PAPI_hw_info_t *hwinfo, int *cpuinfo_mhz )
0fbd96
 		*t = '\0';
0fbd96
 	        s = strtok( s + 2, " " );
0fbd96
 		if ( ( strcasecmp( s, "pSeries" ) == 0 ) ||
0fbd96
+                    ( strcasecmp( s, "PowerNV" ) == 0 ) ||
0fbd96
 		     ( strcasecmp( s, "PowerMac" ) == 0 ) ) {
0fbd96
 		   strcpy( hwinfo->vendor_string, "IBM" );
0fbd96
 		}