From patchwork Fri Dec 11 02:13:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1414689 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 4CsZ9B6jsGz9sWQ for ; Fri, 11 Dec 2020 13:14:22 +1100 (AEDT) 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=PdMkogi6; 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 4CsZ9B5MQbzDqKg for ; Fri, 11 Dec 2020 13:14:22 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (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 4CsZ8x2bxrzDq8v for ; Fri, 11 Dec 2020 13:14:09 +1100 (AEDT) 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=PdMkogi6; 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 4CsZ8w3kqPz9sVs; Fri, 11 Dec 2020 13:14:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1607652848; bh=9aSS9h67x64C5ZzAkE0tRD/7FDk7fbboVxq1tS2/Gg0=; h=From:To:Cc:Subject:Date:From; b=PdMkogi6+tKtn/hjpPlJ1Fgnzu2PL48JUbOD390TvHUuBeKRATjO0WqyU7/3v99R8 m2wOdO8RRMN2PiKjjH9RgJRjRZLGaElDfxTiCOJAtHFYz3nICpDb39kJPOqSWTXjFK gbZuSP88PYi6TX7vrRxlyRFBpyQs6NudhrDR7TYKjFC5jDEbe4JJV0LQEnmH7i0hdc nOZGH6sRY972u9g6jNVOg837/2aUIc19uYBFg0zWi6kCIgun5+BaUD2E52HD1sV+yu fH969ipRz4hJhnd6+FTUadZ/QRz//noyKwP2eRPN7hZ5xIVgzo+tN2DtwYh9+3qAzZ uAPK6RKjGX3PA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 11 Dec 2020 13:13:51 +1100 Message-Id: <20201211021356.414095-1-amitay@ozlabs.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Pdbg] [PATCH 0/5] Implement get dump chip-op 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Implement the new chip-op and add sbe_dump() api to collect debug data from SBE. Amitay Isaacs (5): libsbefifo: Fix indentation for mpipl commands libsbefifo: Add new secondary error codes libsbefifo: Implement get dump chip-op libpdbg: Add dump() method to chipop target libpdbg: Add sbe_dump() api to collect sbe dump data Makefile.am | 1 + libpdbg/hwunit.h | 1 + libpdbg/libpdbg.h | 16 +++++++ libpdbg/sbefifo.c | 9 ++++ libpdbg/target.c | 16 +++++++ libsbefifo/cmd_dump.c | 90 ++++++++++++++++++++++++++++++++++++ libsbefifo/libsbefifo.h | 17 +++++++ libsbefifo/sbefifo_private.h | 11 +++-- 8 files changed, 157 insertions(+), 4 deletions(-) create mode 100644 libsbefifo/cmd_dump.c