Re: [PATCH v4 06/16] firmware: arm_scmi, smccc, mailbox: Make shmem based transports optional
From: Cristian Marussi
Date: Thu Jul 01 2021 - 06:27:35 EST
Hi,
On Thu, Jul 01, 2021 at 10:42:56AM +0200, Peter Hilber wrote:
> On 11.06.21 18:59, Cristian Marussi wrote:
> > From: Igor Skalkin <igor.skalkin@xxxxxxxxxxxxxxx>
> >
> > Upon adding the virtio transport in this patch series, SCMI will also
> > work without shared memory based transports. Also, the mailbox transport
> > may not be needed if the smc transport is used.
> >
> > - Compile shmem.c only if a shmem based transport is available.
> >
> > - Remove hard dependency of SCMI on mailbox.
>
> The hard dependency has now already been removed with
>
> c05b07963e96 ("firmware: arm_scmi: Add SMCCC discovery dependency in")
>
I deeply reviewed transport Kconfig approach in V5 in general, making
all transport configurable (y/n), so this patch will be adapted to the new
Kconfig layout annd basically just provide the HAVE_SHMEM feature.
Thanks,
Cristian