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