diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2015-02-09 23:25:00 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-19 20:32:50 -0600 |
commit | a420d3c07e45cd67ef733f2942cb78db92025a09 (patch) | |
tree | 3842201301e28c7da69a392ae5521ca96aa2a885 /src/usr/diag | |
parent | 110da83dad46fd3ac100bf60375ff1b7716114c9 (diff) | |
download | talos-hostboot-a420d3c07e45cd67ef733f2942cb78db92025a09.tar.gz talos-hostboot-a420d3c07e45cd67ef733f2942cb78db92025a09.zip |
ATTN: Fixed enable/disable attn flow during runtime
Change-Id: Ifcd4a6f71f8007bb5e223ac55d8fd953848974fa
RTC: 123533
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15628
Tested-by: Jenkins Server
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Reshmi Nair <reshminair@in.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag')
-rw-r--r-- | src/usr/diag/attn/common/attnsvc_common.C | 4 | ||||
-rw-r--r-- | src/usr/diag/attn/runtime/attnsvc.C | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/diag/attn/common/attnsvc_common.C b/src/usr/diag/attn/common/attnsvc_common.C index 916e6123c..c56b8a888 100644 --- a/src/usr/diag/attn/common/attnsvc_common.C +++ b/src/usr/diag/attn/common/attnsvc_common.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -170,6 +170,7 @@ errlHndl_t ServiceCommon::configureInterrupts( break; } + #ifndef __HOSTBOOT_RUNTIME // enable attentions in ipoll mask mask = HostMask::nonHost(); @@ -186,6 +187,7 @@ errlHndl_t ServiceCommon::configureInterrupts( { break; } + #endif //__HOSTBOOT_RUNTIME ++it; } diff --git a/src/usr/diag/attn/runtime/attnsvc.C b/src/usr/diag/attn/runtime/attnsvc.C index d0552bfed..f1e748f4d 100644 --- a/src/usr/diag/attn/runtime/attnsvc.C +++ b/src/usr/diag/attn/runtime/attnsvc.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -47,12 +47,10 @@ namespace ATTN errlHndl_t Service::disableAttns() { ATTN_SLOW("Service::disableAttns() enter"); - - errlHndl_t err = configureInterrupts(DOWN); - + // During runtime do nothing. ATTN_SLOW("Service::disableAttns() exit"); - return err; + return NULL; } errlHndl_t Service::enableAttns() |