Message ID | 20200702033918.708013-7-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <pdbg-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 [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49y3kx51GPz9sRN for <incoming@patchwork.ozlabs.org>; Thu, 2 Jul 2020 13:40:09 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=SBwQKdoa; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49y3kx35gdzDqlP for <incoming@patchwork.ozlabs.org>; Thu, 2 Jul 2020 13:40:09 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49y3kG3fXdzDqlD for <pdbg@lists.ozlabs.org>; Thu, 2 Jul 2020 13:39:34 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=SBwQKdoa; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49y3kG1RYNz9sQt; Thu, 2 Jul 2020 13:39:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1593661174; bh=do0iQRcn6GyRmSsDfkMqoior6aJp8Y1epmv+JH0hI8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SBwQKdoaMw1gwdhtFJvuQCcfm0jULh/BgxCI7fMUAs7OiOxSzftFS7imZS6GEPW3o a4ImzFUiDHuRfcbETk12OPjihSo4PeY9k3fX40cHit/moqPy0FrvxgxEiaT/yryd4X gsIf0b5DYHV+wCc4aS3+gdW6hOpxJaX/mlwOw0qjEkvDzm/ljx1q8YZMEo/+u1udMf PaIwQw49bV1ZZLXvX+RpxsXcDMjdVtVcS3arq2nMuBOWyB98g9OQcKxKEEp1cfcDGs PNiF4zWoicCpJZofnetKriYQASIlOrO82Fx+yvg2uzhII2heye5Z4HJgOkdQDAbZFn mCTm6CiL7gzuA== From: Amitay Isaacs <amitay@ozlabs.org> To: pdbg@lists.ozlabs.org Date: Thu, 2 Jul 2020 13:39:05 +1000 Message-Id: <20200702033918.708013-7-amitay@ozlabs.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200702033918.708013-1-amitay@ozlabs.org> References: <20200702033918.708013-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 06/19] libsbefifo: Fix marshalling for putscom chipop X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" <pdbg.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/pdbg/> List-Post: <mailto:pdbg@lists.ozlabs.org> List-Help: <mailto:pdbg-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=subscribe> Cc: Amitay Isaacs <amitay@ozlabs.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" <pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Fixes and cleanup before release
|
expand
|
diff --git a/libsbefifo/cmd_scom.c b/libsbefifo/cmd_scom.c index bb44e5e..935a00f 100644 --- a/libsbefifo/cmd_scom.c +++ b/libsbefifo/cmd_scom.c @@ -98,8 +98,8 @@ static int sbefifo_scom_put_push(uint64_t addr, uint64_t value, uint8_t **buf, u msg[1] = htobe32(cmd); msg[2] = htobe32(addr >> 32); msg[3] = htobe32(addr & 0xffffffff); - msg[2] = htobe32(value >> 32); - msg[3] = htobe32(value & 0xffffffff); + msg[4] = htobe32(value >> 32); + msg[5] = htobe32(value & 0xffffffff); *buf = (uint8_t *)msg; return 0;
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- libsbefifo/cmd_scom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)