mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-06 22:55:11 +00:00
Pull mca-check-psp into release branch
This commit is contained in:
commit
cf1d469ec1
1 changed files with 13 additions and 4 deletions
|
@ -547,9 +547,20 @@ recover_from_processor_error(int platform, slidx_table_t *slidx,
|
||||||
(pal_processor_state_info_t*)peidx_psp(peidx);
|
(pal_processor_state_info_t*)peidx_psp(peidx);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We cannot recover errors with other than bus_check.
|
* Processor recovery status must key off of the PAL recovery
|
||||||
|
* status in the Processor State Parameter.
|
||||||
*/
|
*/
|
||||||
if (psp->cc || psp->rc || psp->uc)
|
|
||||||
|
/*
|
||||||
|
* The machine check is corrected.
|
||||||
|
*/
|
||||||
|
if (psp->cm == 1)
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The error was not contained. Software must be reset.
|
||||||
|
*/
|
||||||
|
if (psp->us || psp->ci == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -570,8 +581,6 @@ recover_from_processor_error(int platform, slidx_table_t *slidx,
|
||||||
return 0;
|
return 0;
|
||||||
if (pbci->eb && pbci->bsi > 0)
|
if (pbci->eb && pbci->bsi > 0)
|
||||||
return 0;
|
return 0;
|
||||||
if (psp->ci == 0)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is a local MCA and estimated as recoverble external bus error.
|
* This is a local MCA and estimated as recoverble external bus error.
|
||||||
|
|
Loading…
Add table
Reference in a new issue