From patchwork Sun Sep 10 07:35:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Herrenschmidt X-Patchwork-Id: 812062 Return-Path: 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 3xqjZ60T8qz9s8J for ; Sun, 10 Sep 2017 17:37:18 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xqjZ56kmmzDrXs for ; Sun, 10 Sep 2017 17:37:17 +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 3xqjXY5blzzDrYy for ; Sun, 10 Sep 2017 17:35:57 +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 v8A7ZahM032562; Sun, 10 Sep 2017 02:35:50 -0500 From: Benjamin Herrenschmidt To: skiboot@lists.ozlabs.org Date: Sun, 10 Sep 2017 17:35:30 +1000 Message-Id: <20170910073535.27226-8-benh@kernel.crashing.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170910073535.27226-1-benh@kernel.crashing.org> References: <20170910073535.27226-1-benh@kernel.crashing.org> Subject: [Skiboot] [PATCH v3 08/13] xive: Use symbolic constant 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" Cosmetic fix. Signed-off-by: Benjamin Herrenschmidt --- hw/xive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xive.c b/hw/xive.c index 98839219..1d306b93 100644 --- a/hw/xive.c +++ b/hw/xive.c @@ -2893,7 +2893,7 @@ void xive_cpu_callin(struct cpu_thread *cpu) in_be32(xs->tm_ring1 + TM_SPC_PULL_POOL_CTX); /* Clear VT and LSI bit */ - out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + 8, 0); + out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + TM_WORD2, 0); /* Set VT to 1 */ out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + TM_WORD2, 0x80);