oprofile, s390: Add support for IBM zEnterprise EC12
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 9 Jan 2013 09:13:55 +0000 (10:13 +0100)
committerRobert Richter <rric@kernel.org>
Sat, 6 Apr 2013 13:25:42 +0000 (15:25 +0200)
This patch adds support for the latest release of the
IBM mainframe series - the IBM zEnterprise EC12 (zEC12).

The CPU measurement facility didn't change.  So only the new CPU type
has to be tolerated.

Signed-off-by: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Signed-off-by: Robert Richter <rric@kernel.org>
arch/s390/oprofile/init.c

index 584b93674ea43bceea2259142081ef81a02ad9aa..ffeb17ce7f313d914a38de3ee21dad5867991b9d 100644 (file)
@@ -440,6 +440,7 @@ static int oprofile_hwsampler_init(struct oprofile_operations *ops)
                switch (id.machine) {
                case 0x2097: case 0x2098: ops->cpu_type = "s390/z10"; break;
                case 0x2817: case 0x2818: ops->cpu_type = "s390/z196"; break;
+               case 0x2827:              ops->cpu_type = "s390/zEC12"; break;
                default: return -ENODEV;
                }
        }