[POWERPC] PS3: Kexec support
Fixup the core platform parts needed for kexec to work on the PS3. - Setup ps3_hpte_clear correctly. - Mask interrupts on irq removal. - Release all hypervisor resources. - Create new routine ps3_shutdown_IRQ() Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
83bb643d07
commit
9263e85aa9
@@ -234,10 +234,17 @@ static void ps3_hpte_invalidate(unsigned long slot, unsigned long va,
|
||||
|
||||
static void ps3_hpte_clear(void)
|
||||
{
|
||||
/* Make sure to clean up the frame buffer device first */
|
||||
ps3fb_cleanup();
|
||||
int result;
|
||||
|
||||
lv1_unmap_htab(htab_addr);
|
||||
DBG(" -> %s:%d\n", __func__, __LINE__);
|
||||
|
||||
result = lv1_unmap_htab(htab_addr);
|
||||
BUG_ON(result);
|
||||
|
||||
ps3_mm_shutdown();
|
||||
ps3_mm_vas_destroy();
|
||||
|
||||
DBG(" <- %s:%d\n", __func__, __LINE__);
|
||||
}
|
||||
|
||||
void __init ps3_hpte_init(unsigned long htab_size)
|
||||
|
Reference in New Issue
Block a user