From patchwork Sun Sep 10 07:33:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Herrenschmidt X-Patchwork-Id: 812059 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqjYC4d0Zz9s8J for ; Sun, 10 Sep 2017 17:36:31 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xqjYC3WRczDrch for ; Sun, 10 Sep 2017 17:36:31 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=permerror (mailfrom) smtp.mailfrom=kernel.crashing.org (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=benh@kernel.crashing.org; receiver=) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xqjVc1vp8zDrd6 for ; Sun, 10 Sep 2017 17:34:15 +1000 (AEST) Received: from pasglop.au.ibm.com (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id v8A7XVat032370; Sun, 10 Sep 2017 02:33:57 -0500 From: Benjamin Herrenschmidt To: skiboot@lists.ozlabs.org Date: Sun, 10 Sep 2017 17:33:29 +1000 Message-Id: <20170910073330.25824-13-benh@kernel.crashing.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170910073330.25824-1-benh@kernel.crashing.org> References: <20170910073330.25824-1-benh@kernel.crashing.org> Subject: [Skiboot] [PATCH v2 13/14] foo misrouted X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" --- hw/xive.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/xive.c b/hw/xive.c index d8b452e2..07363578 100644 --- a/hw/xive.c +++ b/hw/xive.c @@ -3465,11 +3465,6 @@ static void xive_dump_eq(uint32_t eq_blk, uint32_t eq_idx) eq->w4, eq->w5, eq->w6, eq->w7); } static int64_t __opal_xive_dump_emu(struct xive_cpu_state *xs, uint32_t pir); -static void checkstop(void) -{ - xscom_writeme(0x05011c02, PPC_BIT(0)); - for (;;) ; -} static bool check_misrouted_ipi(struct cpu_thread *me, uint32_t irq) { @@ -3496,7 +3491,6 @@ static bool check_misrouted_ipi(struct cpu_thread *me, uint32_t irq) c->xstate->eq_blk, c->xstate->eq_idx + XIVE_EMULATION_PRIO); __opal_xive_dump_emu(me->xstate, me->pir); __opal_xive_dump_emu(c->xstate, c->pir); - checkstop(); if (xive_get_irq_targetting(xs->ipi_irq, &ipi_target, NULL, NULL)) xive_cpu_err(me, "target=%08x\n", ipi_target); else