[Skiboot] [PATCH 5/5] fast-reboot: remove CAPI check
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Tue Dec 6 18:16:22 AEDT 2016
Now that we can handle disabling CAPI mode on PHBs, we don't need to
disable fast reboot if there's a CAPI mode PHB.
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
core/fast-reboot.c | 12 ------------
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index e9a18bc..f0cc889 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -311,7 +311,6 @@ void fast_reboot(void)
{
bool success;
static int fast_reboot_count = 0;
- struct proc_chip *chip;
if (proc_gen != proc_gen_p8) {
prlog(PR_DEBUG,
@@ -333,17 +332,6 @@ void fast_reboot(void)
}
unlock(&fast_reboot_disabled_lock);
- lock(&capi_lock);
- for_each_chip(chip) {
- if (chip->capp_phb3_attached_mask) {
- prlog(PR_NOTICE,
- "RESET: CAPP attached, cannot fast reboot\n");
- unlock(&capi_lock);
- return;
- }
- }
- unlock(&capi_lock);
-
prlog(PR_NOTICE, "RESET: Initiating fast reboot %d...\n", ++fast_reboot_count);
free(fdt);
--
git-series 0.8.7
More information about the Skiboot
mailing list