Re: [RFC PATCH 6/9] powerpc: modify __SOFTEN_TEST to support tri-state soft_enabled flag

From
Nicholas Piggin <npiggin@gmail.com>
Date
2016-07-26 05:41:25
Reply to
Madhavan Srinivasan, 2016-07-25
On Mon, 25 Jul 2016 20:22:19 +0530
Madhavan Srinivasan [off-list ref] wrote:
Foundation patch to support checking of new flag for
"paca->soft_enabled". Modify the condition checking for the
"soft_enabled" from "equal" to "greater than or equal to".
Rather than a "tri-state" and the mystery "2" state, can you
make a #define for that guy, and use levels.

0-> all enabled
1-> "linux" interrupts disabled
2-> PMU also disabled
etc.

Thanks,
Nick
Thread (31 messages) 31 messages, 3 authors, 2016-07-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help