[tip:perf/core] oprofile, s390: Add support for IBM zEnterprise EC12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  23995bbee01d75f09f72b1380bd6045a5b02947b
Gitweb:     http://git.kernel.org/tip/23995bbee01d75f09f72b1380bd6045a5b02947b
Author:     Andreas Krebbel <krebbel@xxxxxxxxxxxxxxxxxx>
AuthorDate: Wed, 9 Jan 2013 10:13:55 +0100
Committer:  Robert Richter <rric@xxxxxxxxxx>
CommitDate: Sat, 6 Apr 2013 15:25:42 +0200

oprofile, s390: Add support for IBM zEnterprise EC12

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@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Robert Richter <rric@xxxxxxxxxx>
---
 arch/s390/oprofile/init.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/s390/oprofile/init.c b/arch/s390/oprofile/init.c
index 584b936..ffeb17c 100644
--- a/arch/s390/oprofile/init.c
+++ b/arch/s390/oprofile/init.c
@@ -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;
 		}
 	}
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux