diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2020-03-12 18:11:45 +0530 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-03-30 18:00:25 +1100 |
commit | 3a4daeca76431d557a7c1b8eed82eb788b7ec5c7 (patch) | |
tree | 83fd388c5b14d6b71dc5c9aec55f462e9c466bd6 /include/fsp.h | |
parent | 4ccfb4b3426fa90b1e84e7f313caf7e60f9d1b79 (diff) | |
download | skiboot-3a4daeca76431d557a7c1b8eed82eb788b7ec5c7.zip skiboot-3a4daeca76431d557a7c1b8eed82eb788b7ec5c7.tar.gz skiboot-3a4daeca76431d557a7c1b8eed82eb788b7ec5c7.tar.bz2 |
Revert "FSP: Disable PSI link whenever FSP tells OPAL about impending R/R"
This reverts commit a4788a49f004a91bb8ca015336abf9ae119fbc52.
Above patch was added to handle host power down with FSP in R/R state.
But FSP is not liking OPAL giving up PSI link early in R/R process. For
FSP initiated R/R OPAL should wait until we get PSI interrupt. Hence
reverting above commit.
Also partially reverting commit e04a34af to make fsp_dpo_pending as
global variable.
We have made several improvement in the way we handle FSP communication
and also in power down path. Now if host sends powerdown message when
FSP in RR, OPAL return OPAL_BUSY_EVENT. Kernel will run poller() and
retry power down message after sometime. So I think this patch will not
have any side effect on power down path.
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r-- | include/fsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h index 0c53ed7..2010dd0 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -842,6 +842,7 @@ extern void fsp_epow_init(void); /* DPO */ extern void fsp_dpo_init(void); +extern bool fsp_dpo_pending; /* Chiptod */ extern void fsp_chiptod_init(void); |