aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorVipin K Parashar <vipin@linux.vnet.ibm.com>2016-06-06 14:56:37 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-05 15:14:13 +1000
commite761222593a1ae932cddbc81239b6a7cd98ddb70 (patch)
treecdbbcbe70925b552848b7f281bdb1fa4dfd532cd /.gitignore
parent5fc07eaa4ac13fbbf188072c58e0202b34aa7f35 (diff)
downloadskiboot-e761222593a1ae932cddbc81239b6a7cd98ddb70.zip
skiboot-e761222593a1ae932cddbc81239b6a7cd98ddb70.tar.gz
skiboot-e761222593a1ae932cddbc81239b6a7cd98ddb70.tar.bz2
hw/xscom: Reset XSCOM engine after finite number of retries when busy
OPAL retries XSCOM read/write operations forever till it succeeds. This can cause XSCOM ops to hang forever when XSCOM engine remains busy for some reason. Changed it to retry XSCOM operations only XSCOM_BUSY_MAX_RETRIES number of times instead of retrying forever. Also added logic to reset XSCOM engine after XSCOM_BUSY_RESET_THRESHOLD number of retries to unblock it when it remains busy. Cc: stable # 9c2d82394fd2 ("xscom: Return OPAL_WRONG_STATE on XSCOM ops..") Signed-off-by: Vipin K Parashar <vipin@linux.vnet.ibm.com> Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions