Message ID | 20201001070814.102735-13-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Add p10 support to libpdbg | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (9fbe2a8b236967e0b2088dfa85a8e3d23ff01413) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
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;