diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-27 23:42:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-27 23:43:51 -0400 |
commit | 15e3608d7c273947dbf2eadbcaa66e51143928fb (patch) | |
tree | 3d39d11649829452e38f7552ebd457dc68386ef2 /arch/sparc | |
parent | facfddef2c76110b8e321921f7e54518c3dd1579 (diff) |
sparc: Add T3 sun4v cpu type and hypervisor group defines.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/hypervisor.h | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/spitfire.h | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/hvapi.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/hypervisor.h b/arch/sparc/include/asm/hypervisor.h index 75686409be24..7a5f80df15d0 100644 --- a/arch/sparc/include/asm/hypervisor.h +++ b/arch/sparc/include/asm/hypervisor.h | |||
@@ -2950,6 +2950,7 @@ extern unsigned long sun4v_ncs_request(unsigned long request, | |||
2950 | #define HV_GRP_N2_CPU 0x0202 | 2950 | #define HV_GRP_N2_CPU 0x0202 |
2951 | #define HV_GRP_NIU 0x0204 | 2951 | #define HV_GRP_NIU 0x0204 |
2952 | #define HV_GRP_VF_CPU 0x0205 | 2952 | #define HV_GRP_VF_CPU 0x0205 |
2953 | #define HV_GRP_KT_CPU 0x0209 | ||
2953 | #define HV_GRP_DIAG 0x0300 | 2954 | #define HV_GRP_DIAG 0x0300 |
2954 | 2955 | ||
2955 | #ifndef __ASSEMBLY__ | 2956 | #ifndef __ASSEMBLY__ |
diff --git a/arch/sparc/include/asm/spitfire.h b/arch/sparc/include/asm/spitfire.h index f0d0c40c44da..55a17c6efeb8 100644 --- a/arch/sparc/include/asm/spitfire.h +++ b/arch/sparc/include/asm/spitfire.h | |||
@@ -42,6 +42,7 @@ | |||
42 | #define SUN4V_CHIP_INVALID 0x00 | 42 | #define SUN4V_CHIP_INVALID 0x00 |
43 | #define SUN4V_CHIP_NIAGARA1 0x01 | 43 | #define SUN4V_CHIP_NIAGARA1 0x01 |
44 | #define SUN4V_CHIP_NIAGARA2 0x02 | 44 | #define SUN4V_CHIP_NIAGARA2 0x02 |
45 | #define SUN4V_CHIP_NIAGARA3 0x03 | ||
45 | #define SUN4V_CHIP_UNKNOWN 0xff | 46 | #define SUN4V_CHIP_UNKNOWN 0xff |
46 | 47 | ||
47 | #ifndef __ASSEMBLY__ | 48 | #ifndef __ASSEMBLY__ |
diff --git a/arch/sparc/kernel/hvapi.c b/arch/sparc/kernel/hvapi.c index 7c60afb835b0..d306e648c33c 100644 --- a/arch/sparc/kernel/hvapi.c +++ b/arch/sparc/kernel/hvapi.c | |||
@@ -38,6 +38,7 @@ static struct api_info api_table[] = { | |||
38 | { .group = HV_GRP_N2_CPU, }, | 38 | { .group = HV_GRP_N2_CPU, }, |
39 | { .group = HV_GRP_NIU, }, | 39 | { .group = HV_GRP_NIU, }, |
40 | { .group = HV_GRP_VF_CPU, }, | 40 | { .group = HV_GRP_VF_CPU, }, |
41 | { .group = HV_GRP_KT_CPU, }, | ||
41 | { .group = HV_GRP_DIAG, .flags = FLAG_PRE_API }, | 42 | { .group = HV_GRP_DIAG, .flags = FLAG_PRE_API }, |
42 | }; | 43 | }; |
43 | 44 | ||