aboutsummaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-05-11 19:06:59 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-05-24 04:03:19 -0500
commit53dac89cb8aab986e08ea5e062564f3da9f4831f (patch)
tree3f3d3e27b19d05623a938d911be14342714374d2 /libc/string
parent15d9f319978211045651a8c960db6a46ab52b1f4 (diff)
downloadskiboot-53dac89cb8aab986e08ea5e062564f3da9f4831f.zip
skiboot-53dac89cb8aab986e08ea5e062564f3da9f4831f.tar.gz
skiboot-53dac89cb8aab986e08ea5e062564f3da9f4831f.tar.bz2
cpu: Cleanup clearing of doorbells on P9
We currently do a rather pointless msgclr prior to setting in_sleep/in_idle (with no ordering guarantee which isn't great). We also do the final msgsync/msgclr after setting in_sleep/in_idle back to false which while probably ok, isn't that great, we should do msgsync first thing when waking up. Finally, do p9_dbell_receive() before skip_sleep. So take out the first msgclr, swap the final p9_dbell_receive() and add a sync() for good measure and match what p8 does. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libc/string')
0 files changed, 0 insertions, 0 deletions