Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
15e3608d
Commit
15e3608d
authored
Jul 27, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Add T3 sun4v cpu type and hypervisor group defines.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
facfddef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
arch/sparc/include/asm/hypervisor.h
arch/sparc/include/asm/hypervisor.h
+1
-0
arch/sparc/include/asm/spitfire.h
arch/sparc/include/asm/spitfire.h
+1
-0
arch/sparc/kernel/hvapi.c
arch/sparc/kernel/hvapi.c
+1
-0
No files found.
arch/sparc/include/asm/hypervisor.h
View file @
15e3608d
...
@@ -2950,6 +2950,7 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
...
@@ -2950,6 +2950,7 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
#define HV_GRP_N2_CPU 0x0202
#define HV_GRP_N2_CPU 0x0202
#define HV_GRP_NIU 0x0204
#define HV_GRP_NIU 0x0204
#define HV_GRP_VF_CPU 0x0205
#define HV_GRP_VF_CPU 0x0205
#define HV_GRP_KT_CPU 0x0209
#define HV_GRP_DIAG 0x0300
#define HV_GRP_DIAG 0x0300
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
...
...
arch/sparc/include/asm/spitfire.h
View file @
15e3608d
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#define SUN4V_CHIP_INVALID 0x00
#define SUN4V_CHIP_INVALID 0x00
#define SUN4V_CHIP_NIAGARA1 0x01
#define SUN4V_CHIP_NIAGARA1 0x01
#define SUN4V_CHIP_NIAGARA2 0x02
#define SUN4V_CHIP_NIAGARA2 0x02
#define SUN4V_CHIP_NIAGARA3 0x03
#define SUN4V_CHIP_UNKNOWN 0xff
#define SUN4V_CHIP_UNKNOWN 0xff
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
...
...
arch/sparc/kernel/hvapi.c
View file @
15e3608d
...
@@ -38,6 +38,7 @@ static struct api_info api_table[] = {
...
@@ -38,6 +38,7 @@ static struct api_info api_table[] = {
{
.
group
=
HV_GRP_N2_CPU
,
},
{
.
group
=
HV_GRP_N2_CPU
,
},
{
.
group
=
HV_GRP_NIU
,
},
{
.
group
=
HV_GRP_NIU
,
},
{
.
group
=
HV_GRP_VF_CPU
,
},
{
.
group
=
HV_GRP_VF_CPU
,
},
{
.
group
=
HV_GRP_KT_CPU
,
},
{
.
group
=
HV_GRP_DIAG
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_DIAG
,
.
flags
=
FLAG_PRE_API
},
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment