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
Kirill Smelkov
linux
Commits
e2eb9f81
Commit
e2eb9f81
authored
Aug 01, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Add some missing hypervisor API groups.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
d600cbed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
arch/sparc/include/asm/hypervisor.h
arch/sparc/include/asm/hypervisor.h
+6
-0
arch/sparc/kernel/hvapi.c
arch/sparc/kernel/hvapi.c
+6
-0
No files found.
arch/sparc/include/asm/hypervisor.h
View file @
e2eb9f81
...
...
@@ -2940,11 +2940,17 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
#define HV_GRP_CORE 0x0001
#define HV_GRP_INTR 0x0002
#define HV_GRP_SOFT_STATE 0x0003
#define HV_GRP_TM 0x0080
#define HV_GRP_PCI 0x0100
#define HV_GRP_LDOM 0x0101
#define HV_GRP_SVC_CHAN 0x0102
#define HV_GRP_NCS 0x0103
#define HV_GRP_RNG 0x0104
#define HV_GRP_PBOOT 0x0105
#define HV_GRP_TPM 0x0107
#define HV_GRP_SDIO 0x0108
#define HV_GRP_SDIO_ERR 0x0109
#define HV_GRP_REBOOT_DATA 0x0110
#define HV_GRP_NIAG_PERF 0x0200
#define HV_GRP_FIRE_PERF 0x0201
#define HV_GRP_N2_CPU 0x0202
...
...
arch/sparc/kernel/hvapi.c
View file @
e2eb9f81
...
...
@@ -28,11 +28,17 @@ static struct api_info api_table[] = {
{
.
group
=
HV_GRP_CORE
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_INTR
,
},
{
.
group
=
HV_GRP_SOFT_STATE
,
},
{
.
group
=
HV_GRP_TM
,
},
{
.
group
=
HV_GRP_PCI
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_LDOM
,
},
{
.
group
=
HV_GRP_SVC_CHAN
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_NCS
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_RNG
,
},
{
.
group
=
HV_GRP_PBOOT
,
},
{
.
group
=
HV_GRP_TPM
,
},
{
.
group
=
HV_GRP_SDIO
,
},
{
.
group
=
HV_GRP_SDIO_ERR
,
},
{
.
group
=
HV_GRP_REBOOT_DATA
,
},
{
.
group
=
HV_GRP_NIAG_PERF
,
.
flags
=
FLAG_PRE_API
},
{
.
group
=
HV_GRP_FIRE_PERF
,
},
{
.
group
=
HV_GRP_N2_CPU
,
},
...
...
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