]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arch/sparc: Sonoma epsc group patch
authorJoe Moriarty <joe.moriarty@oracle.com>
Fri, 8 Apr 2016 18:29:21 +0000 (14:29 -0400)
committerAllen Pais <allen.pais@oracle.com>
Tue, 19 Apr 2016 12:34:33 +0000 (18:04 +0530)
Needed for Sonoma IB software support.

Orabug: 23055865
Signed-off-by: Joe Moriarty <joe.moriarty@oracle.com>
Acked-by: Babu Moger <babu.moger@oracle.com>
(cherry picked from commit bf199cb83bd83643b223a0504d2f41ed793812ef)

arch/sparc/include/asm/hypervisor.h
arch/sparc/kernel/hvapi.c

index b2bf7e4d75fb206d0cc906f82afeb020bacb365d..d1941cb1a78f0c6442963427c3c4d05eba38c64e 100644 (file)
@@ -3015,6 +3015,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_SONOMA_EPSC             0x0241
 #define HV_GRP_DIAG                    0x0300
 
 #ifndef __ASSEMBLY__
index e2e1e527cac4fc3222e8c92afae926238fdee9e6..2fc2b48c2ad9adfa5de3dd9eead2c809cb5e2614 100644 (file)
@@ -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_SONOMA_EPSC,                          },
        { .group = HV_GRP_DIAG,         .flags = FLAG_PRE_API   },
        { .group = HV_GRP_M7_PERF,                              },
 };