Skip to contentSkip to conversation

arch/sparc: SPARC-S7 epsc group support

PATCH New Joe Moriarty 1 participant 1 message May 24, 2016 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 arch/sparc: SPARC-S7 epsc group support

Merge: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux

Needed for SPARC-S7 IB software support

Orabug: 23055865

---
 arch/sparc/include/asm/hypervisor.h |    1 +
 arch/sparc/kernel/hvapi.c           |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/sparc/include/asm/hypervisor.h +1 -0
index f5b6537..aa25da4 100644
@@ -3001,6 +3001,7 @@ unsigned long sun4v_m7_set_perfreg(unsigned long reg_num,
 #define HV_GRP_KT_CPU			0x0209
 #define HV_GRP_VT_CPU			0x020c
 #define HV_GRP_T5_CPU			0x0211
+#define HV_GRP_EPSC			0x0241
 #define HV_GRP_DIAG			0x0300
 
 #ifndef __ASSEMBLY__
arch/sparc/kernel/hvapi.c +1 -0
index 662500f..9bc39a3 100644
@@ -47,6 +47,7 @@ static struct api_info api_table[] = {
 	{ .group = HV_GRP_KT_CPU,				},
 	{ .group = HV_GRP_VT_CPU,				},
 	{ .group = HV_GRP_T5_CPU,				},
+	{ .group = HV_GRP_EPSC,					},
 	{ .group = HV_GRP_DIAG,		.flags = FLAG_PRE_API	},
 	{ .group = HV_GRP_M7_PERF,				},
 };
Signature · 1 line
1.7.1