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
a22fc9bb
Commit
a22fc9bb
authored
Dec 09, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: merge some updates from 2.4
parent
635f0fbb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
arch/ppc64/kernel/mf.c
arch/ppc64/kernel/mf.c
+5
-5
arch/ppc64/kernel/pci.c
arch/ppc64/kernel/pci.c
+1
-0
include/asm-ppc64/hvcall.h
include/asm-ppc64/hvcall.h
+1
-0
include/asm-ppc64/iSeries/HvCall.h
include/asm-ppc64/iSeries/HvCall.h
+6
-0
No files found.
arch/ppc64/kernel/mf.c
View file @
a22fc9bb
...
...
@@ -410,7 +410,7 @@ static int shutdown( void )
mf_powerOff
();
}
else
printk
(
KERN_
ALERT
"mf.c: init has been successfully notified to proceed with shutdown
\n
"
);
printk
(
KERN_
INFO
"mf.c: init has been successfully notified to proceed with shutdown
\n
"
);
return
rc
;
}
...
...
@@ -436,7 +436,7 @@ static void intReceived( struct IoMFLpEvent * event )
case
0x5B
:
/* power control notification */
if
(
(
event
->
xUnion
.
xCEMsgData
.
xCEMsg
[
5
]
&
0x20
)
!=
0
)
{
printk
(
KERN_
ALERT
"mf.c: Commencing partition shutdown
\n
"
);
printk
(
KERN_
INFO
"mf.c: Commencing partition shutdown
\n
"
);
if
(
shutdown
()
==
0
)
signalCEMsg
(
"
\x00\x00\x00\xDB\x00\x00\x00\x00\x00\x00\x00\x00
"
,
NULL
);
}
...
...
@@ -479,7 +479,7 @@ static void intReceived( struct IoMFLpEvent * event )
signalEvent
(
NULL
);
break
;
case
1
:
/* IT sys shutdown */
printk
(
KERN_
ALERT
"mf.c: Commencing system shutdown
\n
"
);
printk
(
KERN_
INFO
"mf.c: Commencing system shutdown
\n
"
);
shutdown
();
break
;
}
...
...
@@ -666,7 +666,7 @@ void mf_deallocateLpEvents( HvLpIndex targetLp,
*/
void
mf_powerOff
(
void
)
{
printk
(
KERN_
ALERT
"mf.c: Down it goes...
\n
"
);
printk
(
KERN_
INFO
"mf.c: Down it goes...
\n
"
);
signalCEMsg
(
"
\x00\x00\x00\x4D\x00\x00\x00\x00\x00\x00\x00\x00
"
,
NULL
);
for
(;;);
}
...
...
@@ -677,7 +677,7 @@ void mf_powerOff( void )
*/
void
mf_reboot
(
void
)
{
printk
(
KERN_
ALERT
"mf.c: Preparing to bounce...
\n
"
);
printk
(
KERN_
INFO
"mf.c: Preparing to bounce...
\n
"
);
signalCEMsg
(
"
\x00\x00\x00\x4E\x00\x00\x00\x00\x00\x00\x00\x00
"
,
NULL
);
for
(;;);
}
...
...
arch/ppc64/kernel/pci.c
View file @
a22fc9bb
...
...
@@ -46,6 +46,7 @@ unsigned long pci_io_base = 0;
static
void
pcibios_fixup_resources
(
struct
pci_dev
*
dev
);
static
void
fixup_broken_pcnet32
(
struct
pci_dev
*
dev
);
static
void
fixup_windbond_82c105
(
struct
pci_dev
*
dev
);
void
fixup_resources
(
struct
pci_dev
*
dev
);
void
iSeries_pcibios_init
(
void
);
void
pSeries_pcibios_init
(
void
);
...
...
include/asm-ppc64/hvcall.h
View file @
a22fc9bb
...
...
@@ -57,6 +57,7 @@
#define H_IPI 0x6c
#define H_IPOLL 0x70
#define H_XIRR 0x74
#define H_PERFMON 0x7c
#define HSC ".long 0x44000022\n"
#define H_ENTER_r3 "li 3, 0x08\n"
...
...
include/asm-ppc64/iSeries/HvCall.h
View file @
a22fc9bb
...
...
@@ -130,6 +130,7 @@ enum HvCall_VaryOffChunkRc
#define HvCallBaseRouter28 HvCallBase + 28
#define HvCallBaseRouter29 HvCallBase + 29
#define HvCallBaseRouter30 HvCallBase + 30
#define HvCallBaseSetDebugBus HvCallBase + 31
#define HvCallCcSetDABR HvCallCc + 7
...
...
@@ -205,5 +206,10 @@ static inline void HvCall_setDABR(unsigned long val)
HvCall1
(
HvCallCcSetDABR
,
val
);
}
static
inline
void
HvCall_setDebugBus
(
unsigned
long
val
)
{
HvCall1
(
HvCallBaseSetDebugBus
,
val
);
}
#endif // _HVCALL_H
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