summaryrefslogtreecommitdiffstats
path: root/hb
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-08-20 12:02:55 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-09-06 08:30:05 -0500
commit4af5b97526d99ecb9e232b1933c804858a298876 (patch)
tree2156b6d6c8e4961acf5cb6e4c662add8af8c8f29 /hb
parent8fc9c877be31195fcd7ca4f9c28c78acf61b0937 (diff)
downloadtalos-hostboot-4af5b97526d99ecb9e232b1933c804858a298876.tar.gz
talos-hostboot-4af5b97526d99ecb9e232b1933c804858a298876.zip
Nap instruction sometimes executed with wrong permissions.
When executing the nap instruction, all thread state can be lost. This was causing r0 to be lost, which contained the system-call number for the idle thread to request permission to execute nap and as a result 'task-yield' was executed instead of 'cpu-nap' after the idle thread took its first nap. Re-arranged the sreset code that handles nap-wakeup to deal with thread-state being lost when entering nap and instead using the previously saved task-state from the 'cpu-nap' system call. Change-Id: Id7468a8577c4d7b273b23bc97e7dd040555e7b67 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1567 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'hb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud