Skip to content

Commit

Permalink
slw: Print enabled stop states
Browse files Browse the repository at this point in the history
On boot, print the enabled stop states.  Output looks like:

    [   25.045201661,5] SLW: Enabling: stop0_lite
    [   25.045205017,5] SLW: Enabling: stop0
    [   25.045206549,5] SLW: Enabling: stop1_lite
    [   25.045208320,5] SLW: Enabling: stop1
    [   25.045209738,5] SLW: Enabling: stop2_lite
    [   25.045211467,5] SLW: Enabling: stop2

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
mikey authored and stewartsmith committed Feb 22, 2017
1 parent f4d5deb commit 18cbb7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/slw.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,8 @@ void add_cpu_idle_state_properties(void)
continue;
}

prlog(PR_NOTICE, "SLW: Enabling: %s\n", states[i].name);

/*
* If a state is supported add each of its property
* to its corresponding property buffer.
Expand Down

0 comments on commit 18cbb7a

Please sign in to comment.