From patchwork Sun Dec 8 12:23:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1205641 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.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 47W5M82fvvz9sP3 for ; Sun, 8 Dec 2019 23:32:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fUXejlha"; 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 47W5M81bJRzDqGY for ; Sun, 8 Dec 2019 23:32:52 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fUXejlha"; dkim-atps=neutral Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47W59B3gM9zDqJW for ; Sun, 8 Dec 2019 23:24:14 +1100 (AEDT) Received: by mail-pf1-x444.google.com with SMTP id y14so5733942pfm.13 for ; Sun, 08 Dec 2019 04:24:14 -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 :mime-version:content-transfer-encoding; bh=+uDHoa+iUfIc/4ifeukUPt9IIop+htGPot4N7QjYmSk=; b=fUXejlhaObTaKBQdstiqjsZwiD35nh3YqHF7L7TmOjVZx71Y4R9flUbJV7K1rK390q xib5tJStbLRMB/OeBR7Q5cDXSHyQ+XKXm+c6HQRbuK9RitnI5iAgPVzT96v6bSMha9gk 5ssUYuogry2TP+TJ4asZgh6BTdIlwk8lZ1tT4QOYyPBvmMUwCFSbQczCE0k0MWUGpTbE 2lH50fJDbbqPxy8mmuJWkBDK5eMvMJRuDI5icY0YjQ6dhQcHJlyhSEoYLtTfetmRXDmc XWDz793mWVp2keXyEiEXHqI9U+mJQWzasV1rfLZMLirayukHbPSGJVLH3D6JtsDQOWdh lQyA== 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:mime-version:content-transfer-encoding; bh=+uDHoa+iUfIc/4ifeukUPt9IIop+htGPot4N7QjYmSk=; b=NlVKRwQsp9urVLQTPCP6FOu87yxCNxlQOLOxG8vkLj7dIDLgsP7jFcxs/hZ0+tRs+8 Nx2yb8jpk0mCbP7Tgu0sLOoReaNLbpX5jMEl3cOnpN22wVf3gykOw792GSSanC7YP11O vQMM8JmkLJyMILg8aYzbro/6tuHKx2AqVtl/zIlS8tmGx813SqqDjA1Hx5QE2LgZw7GA EAgnXUpEf+YS5DL4iHOKXy+JSsBHeNXJSwGsW/lBw4TG4l8Wj9NnLLueD96o7GB7KsqJ 44w3Fim65w2scYLV76K3UwEWq54FB4KEirixHsFZvGYehI8FH3hfoAx6OOl47aY8LK2P 88iw== X-Gm-Message-State: APjAAAVMiGUHfz+TWywohWSe/Fgg/DoTxmmE754pDp0/wTL0gbn3gvp6 cp1jI5giHnt5NMglFHYppise/VKa X-Google-Smtp-Source: APXvYqx4gEq6VwmLmHyTtlQjseN1jFiRlERYC5Yt30SB+44TRelvbLnOh97iwYWFTBF8aOZUjPp4FA== X-Received: by 2002:a62:b615:: with SMTP id j21mr15486687pff.247.1575807852439; Sun, 08 Dec 2019 04:24:12 -0800 (PST) Received: from bobo.local0.net ([202.21.15.182]) by smtp.gmail.com with ESMTPSA id i9sm23741866pfk.24.2019.12.08.04.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2019 04:24:12 -0800 (PST) From: Nicholas Piggin To: skiboot@lists.ozlabs.org Date: Sun, 8 Dec 2019 22:23:00 +1000 Message-Id: <20191208122312.12837-20-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191208122312.12837-1-npiggin@gmail.com> References: <20191208122312.12837-1-npiggin@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH v10 19/31] sbe-p9: endian conversion X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Reviewed-by: Vasant Hegde Signed-off-by: Nicholas Piggin --- hw/sbe-p9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sbe-p9.c b/hw/sbe-p9.c index 1b5f29ec1..53f378e18 100644 --- a/hw/sbe-p9.c +++ b/hw/sbe-p9.c @@ -123,7 +123,7 @@ static u64 p9_sbe_rreg(u32 chip_id, u64 reg) return 0xffffffff; } - return be64_to_cpu(data); + return data; } static void p9_sbe_reg_dump(u32 chip_id)