Commit a22fc9bb authored by Anton Blanchard's avatar Anton Blanchard

ppc64: merge some updates from 2.4

parent 635f0fbb
...@@ -410,7 +410,7 @@ static int shutdown( void ) ...@@ -410,7 +410,7 @@ static int shutdown( void )
mf_powerOff(); mf_powerOff();
} }
else 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; return rc;
} }
...@@ -436,7 +436,7 @@ static void intReceived( struct IoMFLpEvent * event ) ...@@ -436,7 +436,7 @@ static void intReceived( struct IoMFLpEvent * event )
case 0x5B: /* power control notification */ case 0x5B: /* power control notification */
if ( (event->xUnion.xCEMsgData.xCEMsg[5]&0x20) != 0 ) 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 ) if ( shutdown() == 0 )
signalCEMsg( "\x00\x00\x00\xDB\x00\x00\x00\x00\x00\x00\x00\x00", NULL ); signalCEMsg( "\x00\x00\x00\xDB\x00\x00\x00\x00\x00\x00\x00\x00", NULL );
} }
...@@ -479,7 +479,7 @@ static void intReceived( struct IoMFLpEvent * event ) ...@@ -479,7 +479,7 @@ static void intReceived( struct IoMFLpEvent * event )
signalEvent( NULL ); signalEvent( NULL );
break; break;
case 1: /* IT sys shutdown */ case 1: /* IT sys shutdown */
printk( KERN_ALERT "mf.c: Commencing system shutdown\n" ); printk( KERN_INFO "mf.c: Commencing system shutdown\n" );
shutdown(); shutdown();
break; break;
} }
...@@ -666,7 +666,7 @@ void mf_deallocateLpEvents( HvLpIndex targetLp, ...@@ -666,7 +666,7 @@ void mf_deallocateLpEvents( HvLpIndex targetLp,
*/ */
void mf_powerOff( void ) 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 ); signalCEMsg( "\x00\x00\x00\x4D\x00\x00\x00\x00\x00\x00\x00\x00", NULL );
for (;;); for (;;);
} }
...@@ -677,7 +677,7 @@ void mf_powerOff( void ) ...@@ -677,7 +677,7 @@ void mf_powerOff( void )
*/ */
void mf_reboot( 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 ); signalCEMsg( "\x00\x00\x00\x4E\x00\x00\x00\x00\x00\x00\x00\x00", NULL );
for (;;); for (;;);
} }
......
...@@ -46,6 +46,7 @@ unsigned long pci_io_base = 0; ...@@ -46,6 +46,7 @@ unsigned long pci_io_base = 0;
static void pcibios_fixup_resources(struct pci_dev* dev); static void pcibios_fixup_resources(struct pci_dev* dev);
static void fixup_broken_pcnet32(struct pci_dev* dev); static void fixup_broken_pcnet32(struct pci_dev* dev);
static void fixup_windbond_82c105(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 iSeries_pcibios_init(void);
void pSeries_pcibios_init(void); void pSeries_pcibios_init(void);
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
#define H_IPI 0x6c #define H_IPI 0x6c
#define H_IPOLL 0x70 #define H_IPOLL 0x70
#define H_XIRR 0x74 #define H_XIRR 0x74
#define H_PERFMON 0x7c
#define HSC ".long 0x44000022\n" #define HSC ".long 0x44000022\n"
#define H_ENTER_r3 "li 3, 0x08\n" #define H_ENTER_r3 "li 3, 0x08\n"
......
...@@ -130,6 +130,7 @@ enum HvCall_VaryOffChunkRc ...@@ -130,6 +130,7 @@ enum HvCall_VaryOffChunkRc
#define HvCallBaseRouter28 HvCallBase + 28 #define HvCallBaseRouter28 HvCallBase + 28
#define HvCallBaseRouter29 HvCallBase + 29 #define HvCallBaseRouter29 HvCallBase + 29
#define HvCallBaseRouter30 HvCallBase + 30 #define HvCallBaseRouter30 HvCallBase + 30
#define HvCallBaseSetDebugBus HvCallBase + 31
#define HvCallCcSetDABR HvCallCc + 7 #define HvCallCcSetDABR HvCallCc + 7
...@@ -205,5 +206,10 @@ static inline void HvCall_setDABR(unsigned long val) ...@@ -205,5 +206,10 @@ static inline void HvCall_setDABR(unsigned long val)
HvCall1(HvCallCcSetDABR, val); HvCall1(HvCallCcSetDABR, val);
} }
static inline void HvCall_setDebugBus(unsigned long val)
{
HvCall1(HvCallBaseSetDebugBus, val);
}
#endif // _HVCALL_H #endif // _HVCALL_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment