Message ID | 20171119091508.28372-5-npiggin@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yfmSX0GsFz9ryk for <incoming@patchwork.ozlabs.org>; Sun, 19 Nov 2017 20:16:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c6gCPAJ5"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3yfmSW5yXRzDrV3 for <incoming@patchwork.ozlabs.org>; Sun, 19 Nov 2017 20:16:43 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c6gCPAJ5"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=npiggin@gmail.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c6gCPAJ5"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3yfmRB41YXzDrT7 for <skiboot@lists.ozlabs.org>; Sun, 19 Nov 2017 20:15:34 +1100 (AEDT) Received: by mail-pg0-x243.google.com with SMTP id 70so5103557pgf.6 for <skiboot@lists.ozlabs.org>; Sun, 19 Nov 2017 01:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WGUbkNjKXOzwoBAyJeoYz4CVkntiU2bg3qjKlPkhvKE=; b=c6gCPAJ5BYGnytYIMtnriqogl6+4wsBPfmFEsVGNvwUfC1QhRl7WMPp05YsNXXD8x7 w1XOGW4iE9MEjRiKUDPvH5JUbwyDbhoQP3VBDhXJ81FLAiOHU6i8J0IQVezJJdgtndsT U67uxRLqLs0Q/TUP+KGTdlxeWh3o7WYVYevpy3emNjoBw7PC5IgtWbSSmtv/+uT9qvg2 gQWn1gpyuEcbfn+MAGGgdEjyX3GYSdGYiOZGJ1D3fMh3JfSVEboNPKvKz6Ca4mxiXnR2 D4JHn2n+bTnMFMGSsbd5Mriuy1F/wp2Kb+A2ZR/rOPTEUN1+9goXF78p6jkZiC2SMCTE 9iww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WGUbkNjKXOzwoBAyJeoYz4CVkntiU2bg3qjKlPkhvKE=; b=Jc1PlP6UYufz/Wsx1Wn41IQeSMJMpAwPn+9a8hlQL+d03/e6P/qjB3YZtTNU+0vunl 6iOZTdN6RQr8gVdqf3qDmeC9YSOs2fyZmGm3TZhTABWLkFsfWxwMm4Vs0ugq70i+YRui 956FjV0RdWLIZmKonwpV6/WRiFuQ44T6/0c+W4IV2YIRsOZJinRPOBMN2dMlJp4fO24l nVjyd/5hFAWOwXsE/pNlCf5KOKKa+kuoxa9xxAIKkegKqk5XYLi2USJg1KaHPRMA0TfI IGFdWK0cHqhQqAkq1A8DgRZ/QgqkSnuIayzF9O83Cgu7xyDQFS0rF4Tfc71k7USyle0e 36TA== X-Gm-Message-State: AJaThX6Yl/IulSmY19r27nn+I6aMtvfSxc7dkNLya6IZO09zkqogZJvA apl0tCq+d/3J2FRgR/WKp4d8AQ== X-Google-Smtp-Source: AGs4zMayuoNtIEeaDXgCC7EPmeFpnZK0xRSAHPYRiEtRMCDCCeHxdqxxjRDwbnmobgSTStdhmRZeqg== X-Received: by 10.98.152.25 with SMTP id q25mr7084212pfd.58.1511082932033; Sun, 19 Nov 2017 01:15:32 -0800 (PST) Received: from roar.au.ibm.com (27-33-241-2.tpgi.com.au. [27.33.241.2]) by smtp.gmail.com with ESMTPSA id k12sm12709621pgo.5.2017.11.19.01.15.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Nov 2017 01:15:31 -0800 (PST) From: Nicholas Piggin <npiggin@gmail.com> To: skiboot@lists.ozlabs.org Date: Sun, 19 Nov 2017 19:14:54 +1000 Message-Id: <20171119091508.28372-5-npiggin@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171119091508.28372-1-npiggin@gmail.com> References: <20171119091508.28372-1-npiggin@gmail.com> Subject: [Skiboot] [PATCH 04/18] fast-reboot: move de-asserting of special wakeups to the initiator X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
move direct controls out of fast-reboot,
|
expand
|
diff --git a/core/fast-reboot.c b/core/fast-reboot.c index 7147dcd9..45c8d2a4 100644 --- a/core/fast-reboot.c +++ b/core/fast-reboot.c @@ -327,6 +327,9 @@ static bool fast_reset_p8(void) /* Send everyone else to 0x100 */ sreset_all_others(); + prlog(PR_DEBUG, "RESET: Releasing special wakeups...\n"); + sreset_all_finish(); + return true; } @@ -391,10 +394,6 @@ void fast_reboot(void) /* Unlock, at this point we go away */ unlock(&reset_lock); - prlog(PR_DEBUG, "RESET: Releasing special wakeups...\n"); - - sreset_all_finish(); - if (success) { asm volatile("ba 0x100\n\t" : : : "memory"); for (;;)
Currently the boot CPU clears special wakeups, but after the previous patch, that is no longer necessary. Have the initiator finish the entire sreset sequence. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- core/fast-reboot.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)