sparc: Add T3 sun4v cpu type and hypervisor group defines.
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 03:42:51 +0000 (20:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 03:43:51 +0000 (20:43 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/hypervisor.h
arch/sparc/include/asm/spitfire.h
arch/sparc/kernel/hvapi.c

index 75686409be245b4f11f7e675008f4e6e8f5bdf04..7a5f80df15d0e9745c1be67cda304dd6432caeb5 100644 (file)
@@ -2950,6 +2950,7 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
 #define HV_GRP_N2_CPU                  0x0202
 #define HV_GRP_NIU                     0x0204
 #define HV_GRP_VF_CPU                  0x0205
+#define HV_GRP_KT_CPU                  0x0209
 #define HV_GRP_DIAG                    0x0300
 
 #ifndef __ASSEMBLY__
index f0d0c40c44da9c98bd83f573d6d8374d2c44172b..55a17c6efeb8d1ff5f592109e103aaee193885e0 100644 (file)
@@ -42,6 +42,7 @@
 #define SUN4V_CHIP_INVALID     0x00
 #define SUN4V_CHIP_NIAGARA1    0x01
 #define SUN4V_CHIP_NIAGARA2    0x02
+#define SUN4V_CHIP_NIAGARA3    0x03
 #define SUN4V_CHIP_UNKNOWN     0xff
 
 #ifndef __ASSEMBLY__
index 7c60afb835b0426571654fb5aa719e84e6cc9bec..d306e648c33cb15ee2cdab960a906bdccf32df61 100644 (file)
@@ -38,6 +38,7 @@ static struct api_info api_table[] = {
        { .group = HV_GRP_N2_CPU,                               },
        { .group = HV_GRP_NIU,                                  },
        { .group = HV_GRP_VF_CPU,                               },
+       { .group = HV_GRP_KT_CPU,                               },
        { .group = HV_GRP_DIAG,         .flags = FLAG_PRE_API   },
 };