Skip to content

Commit 15e3608

Browse files
committed
sparc: Add T3 sun4v cpu type and hypervisor group defines.
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent facfdde commit 15e3608

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎arch/sparc/include/asm/hypervisor.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,6 +2950,7 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
29502950
#define HV_GRP_N2_CPU 0x0202
29512951
#define HV_GRP_NIU 0x0204
29522952
#define HV_GRP_VF_CPU 0x0205
2953+
#define HV_GRP_KT_CPU 0x0209
29532954
#define HV_GRP_DIAG 0x0300
29542955

29552956
#ifndef __ASSEMBLY__

‎arch/sparc/include/asm/spitfire.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#define SUN4V_CHIP_INVALID 0x00
4343
#define SUN4V_CHIP_NIAGARA1 0x01
4444
#define SUN4V_CHIP_NIAGARA2 0x02
45+
#define SUN4V_CHIP_NIAGARA3 0x03
4546
#define SUN4V_CHIP_UNKNOWN 0xff
4647

4748
#ifndef __ASSEMBLY__

‎arch/sparc/kernel/hvapi.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static struct api_info api_table[] = {
3838
{ .group = HV_GRP_N2_CPU, },
3939
{ .group = HV_GRP_NIU, },
4040
{ .group = HV_GRP_VF_CPU, },
41+
{ .group = HV_GRP_KT_CPU, },
4142
{ .group = HV_GRP_DIAG, .flags = FLAG_PRE_API },
4243
};
4344

0 commit comments

Comments
 (0)