diff mbox series

[v4,10/19] libpdbg: Add sbefifo backend

Message ID 20200421041655.82856-11-amitay@ozlabs.org
State Superseded
Headers show
Series Add sbefifo backend | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (6ae2ba655ca5e24b403a33bf15dff7261d3e7052)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs April 21, 2020, 4:16 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/libpdbg.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Alistair Popple April 30, 2020, 1:17 a.m. UTC | #1
Reviewed-by: Alistair Popple <alistair@popple.id.au>

On Tuesday, 21 April 2020 2:16:46 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
> ---
>  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,
>  };
> 
>  /**
diff mbox series

Patch

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,
 };
 
 /**