arch/sparc: SPARC-S7 epsc group support
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
Signed-off-by Joe Moriarty <[email protected]>
Acked-by Babu Moger <[email protected]>
--- 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
@@ -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
@@ -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