From 26103de5e42d9d9c699b08568267c5c0701beffe Mon Sep 17 00:00:00 2001 From: Mahesh Salgaonkar Date: Wed, 11 Mar 2015 15:59:11 +0530 Subject: Revert "opal: Handle more TFAC errors." This reverts commit 699c433a8c736f44b13b7ba28cc0f9e0ac55840c. The rest of the patches in this series refactors the code that reset TB errors for better handling/recovery of individual TB errors. Hence Reverting old patch that claimed to handle more TFAC errors, but did not. Signed-off-by: Mahesh Salgaonkar Signed-off-by: Stewart Smith --- hw/chiptod.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hw') diff --git a/hw/chiptod.c b/hw/chiptod.c index 49b84e7..edf805d 100644 --- a/hw/chiptod.c +++ b/hw/chiptod.c @@ -311,8 +311,6 @@ static bool chiptod_reset_tb_errors(void) tfmr |= SPR_TFMR_TB_MISSING_SYNC; tfmr |= SPR_TFMR_TB_MISSING_STEP; tfmr |= SPR_TFMR_TB_RESIDUE_ERR; - tfmr |= SPR_TFMR_FW_CONTROL_ERR; - tfmr |= SPR_TFMR_CHIP_TOD_PARITY_ERR; mtspr(SPR_TFMR, tfmr); /* We have to write "Clear TB Errors" again */ @@ -667,9 +665,6 @@ int chiptod_recover_tb_errors(void) * clear it. */ if ((tfmr & SPR_TFMR_TB_MISSING_STEP) || - (tfmr & SPR_TFMR_TB_RESIDUE_ERR) || - (tfmr & SPR_TFMR_FW_CONTROL_ERR) || - (tfmr & SPR_TFMR_CHIP_TOD_PARITY_ERR) || (tfmr & SPR_TFMR_TB_MISSING_SYNC)) { if (!chiptod_reset_tb_errors()) { rc = 0; -- cgit v1.1