Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74864
b: refs/heads/master
c: 280bb6b
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Dec 14, 2007
1 parent 52eadd8 commit bc86d66
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c89686210542f6946e48a907772a356b9fce03f0
refs/heads/master: 280bb6b1f76aaec29a721b1025ec5d69afba57e8
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/configs/ps3_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ CONFIG_PS3_HTAB_SIZE=20
CONFIG_PS3_USE_LPAR_ADDR=y
CONFIG_PS3_VUART=y
CONFIG_PS3_PS3AV=y
CONFIG_PS3_SYS_MANAGER=m
CONFIG_PS3_SYS_MANAGER=y
CONFIG_PS3_STORAGE=y
CONFIG_PS3_DISK=y
CONFIG_PS3_ROM=y
Expand Down
17 changes: 15 additions & 2 deletions trunk/arch/powerpc/platforms/iseries/lpevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void process_hvlpevents(void)
{
struct HvLpEvent * event;

restart:
/* If we have recursed, just return */
if (!spin_trylock(&hvlpevent_queue.hq_lock))
return;
Expand All @@ -146,8 +147,20 @@ void process_hvlpevents(void)
if (event->xType < HvLpEvent_Type_NumTypes &&
lpEventHandler[event->xType])
lpEventHandler[event->xType](event);
else
printk(KERN_INFO "Unexpected Lp Event type=%d\n", event->xType );
else {
u8 type = event->xType;

/*
* Don't printk in the spinlock as printk
* may require ack events form the HV to send
* any characters there.
*/
hvlpevent_clear_valid(event);
spin_unlock(&hvlpevent_queue.hq_lock);
printk(KERN_INFO
"Unexpected Lp Event type=%d\n", type);
goto restart;
}

hvlpevent_clear_valid(event);
} else if (hvlpevent_queue.hq_overflow_pending)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/ps3/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ config PS3_SYS_MANAGER
depends on PPC_PS3
tristate "PS3 System Manager driver" if PS3_ADVANCED
select PS3_VUART
default m
default y
help
Include support for the PS3 System Manager.

Expand Down

0 comments on commit bc86d66

Please sign in to comment.