[Pdbg] [PATCH v2 12/20] libsbefifo: P10 dropped put_ring_from_image chipop
Amitay Isaacs
amitay at ozlabs.org
Thu Oct 1 17:08:06 AEST 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
Reviewed-by: Joel Stanley <joel at jms.id.au>
---
libsbefifo/cmd_ring.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libsbefifo/cmd_ring.c b/libsbefifo/cmd_ring.c
index c1c0ec2..44e8eff 100644
--- a/libsbefifo/cmd_ring.c
+++ b/libsbefifo/cmd_ring.c
@@ -178,6 +178,9 @@ int sbefifo_ring_put_from_image(struct sbefifo_context *sctx, uint16_t target, u
uint32_t msg_len, out_len;
int rc;
+ if (sctx->proc != SBEFIFO_PROC_P9)
+ return ENOSYS;
+
rc = sbefifo_ring_put_from_image_push(target, chiplet_id, ring_id, ring_mode, &msg, &msg_len);
if (rc)
return rc;
--
2.26.2
More information about the Pdbg
mailing list