summaryrefslogtreecommitdiffstats
path: root/core/hmi.c
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2018-04-16 23:04:02 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-04-17 03:52:10 -0500
commit2fd92666b665af4e08e47a1de8e95e0c371299de (patch)
tree6ac7750399e0e6302f1f73a5975ee212182ca2fa /core/hmi.c
parent8ff9be76345a5e46bdf18853dab13f6becb95580 (diff)
downloadtalos-skiboot-2fd92666b665af4e08e47a1de8e95e0c371299de.tar.gz
talos-skiboot-2fd92666b665af4e08e47a1de8e95e0c371299de.zip
opal/hmi: Stop flooding HMI event for TOD errors.
Fix the issue where every thread on the chip sends HMI event to host for TOD errors. TOD errors are reported to all the core/threads on the chip. Any one thread can fix the error and send event. Rest of the threads don't need to send HMI event unnecessarily. This patch fixes this by modifying __chiptod_recover_tod_errors() function to return -1 if no errors found. Without this change every thread that see TFMR[51]=1 sends HMI event to the host kernel. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/hmi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud