According to the Book3S spec, the interrupt context starts with an MSR
value that is rather simple. If we leave out the HV case, it's almost
always 0.
To reflect this, let's redesign the way that MSR value gets calculated.
Using this, we also squash the bug where MSR_POW can slip through into
the interrupt handler MSR.
Reported-by: Thomas Monjalon <email address hidden>
Signed-off-by: Alexander Graf <email address hidden>
Signed-off-by: Edgar E. Iglesias <email address hidden>
Just for the reference,
commit 41557447d30eeb9 44e42069513df13 585f5e6c7f
Author: Alexander Graf <email address hidden>
Date: Fri Sep 10 15:08:34 2010 +0000
PPC: Redesign interrupt trigger path
According to the Book3S spec, the interrupt context starts with an MSR
value that is rather simple. If we leave out the HV case, it's almost
always 0.
To reflect this, let's redesign the way that MSR value gets calculated.
Using this, we also squash the bug where MSR_POW can slip through into
the interrupt handler MSR.
Reported-by: Thomas Monjalon <email address hidden>
Signed-off-by: Alexander Graf <email address hidden>
Signed-off-by: Edgar E. Iglesias <email address hidden>