From patchwork Fri Apr 17 07:07:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1272061 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 493Rzs5y6Hz9sSh for ; Fri, 17 Apr 2020 17:09:45 +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=r7zv+RtT; 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 493Rzr3g3TzDqWn for ; Fri, 17 Apr 2020 17:09:44 +1000 (AEST) 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)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 493Ry16FV3zDq77 for ; Fri, 17 Apr 2020 17:08:09 +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=r7zv+RtT; 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 493Ry13SbNz9sT6; Fri, 17 Apr 2020 17:08:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1587107289; bh=9pB3oeO98+ITack7FUFZ8jzBZdeU/jhfQEnqlqrwMYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r7zv+RtTMrFP/ZmhHW+koMWjGxJrmLDU/Hin1F6/lpWaMmpfgmCHE8HszvRS8mjEO mbXi8GgO+SmmydRNwumyTF8wxbb+yJY4IWvf/UbCc9CF42XQugwBcSIN6u6xrpBJmz jQFKB2nOehrwCWbqs7nZyspDYXUQ3Y5b3+LcJd1zcbNGRTV3FwS/ojNtbggQKWsaFi d3Pyiuuw2SlyQ+Vpf7B1GfZdeJG2KLRK6Flb55dHGtqzjQ05Cwlf/FT5kOmTGUylmg vpbiEfklk/rit1j+kh3/eo0CHx84xRVIpwaIN1ljs/tdjXJLmCLul1Y7KhzaSvOZsb dgPlzT+N+8vuw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 17 Apr 2020 17:07:40 +1000 Message-Id: <20200417070749.276754-17-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200417070749.276754-1-amitay@ozlabs.org> References: <20200417070749.276754-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v3 16/25] libpdbg: Add sbefifo backend 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" Signed-off-by: Amitay Isaacs --- libpdbg/libpdbg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h index 1c974f5..bdc6cea 100644 --- a/libpdbg/libpdbg.h +++ b/libpdbg/libpdbg.h @@ -142,7 +142,6 @@ enum pdbg_target_status { PDBG_TARGET_RELEASED, }; - /** * @brief Describes the various methods (referred to as backends) for * accessing hardware depending on where the code is executed. @@ -197,6 +196,12 @@ enum pdbg_backend { * the BMC network address / hostname. For example p9@spoon2-bmc. */ PDBG_BACKEND_CRONUS, + + /** + * This backend uses sbefifo kernel driver on BMC to access hardware + * via SBE. + */ + PDBG_BACKEND_SBEFIFO, }; /**