On 12 April 2018 at 08:37, Eric Auger <eric.au...@redhat.com> wrote:
> Now we have relevant helpers for queue and irq
> management, let's implement MMIO write operations.
> Signed-off-by: Eric Auger <eric.au...@redhat.com>
> Signed-off-by: Prem Mallappa <prem.malla...@broadcom.com>
> -int smmuv3_cmdq_consume(SMMUv3State *s)
> +static int smmuv3_cmdq_consume(SMMUv3State *s)
> SMMUCmdError cmd_error = SMMU_CERROR_NONE;
> SMMUQueue *q = &s->cmdq;
> @@ -269,11 +270,170 @@ int smmuv3_cmdq_consume(SMMUv3State *s)
> return 0;
> -static MemTxResult smmu_write_mmio(void *opaque, hwaddr offset, uint64_t
You changed the name of the argument here from 'value' to 'data', which
is why the diff has come out looking a bit awkward like this.
Better to be consistent with the name from the start.
> +static MemTxResult smmu_writell(SMMUv3State *s, hwaddr offset,
> + uint64_t value, MemTxAttrs attrs)
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>