Re: [PATCH v3 3/3] drivers: platform: goldfish: goldfish_sync: add a driver

From: Greg KH
Date: Tue Jan 22 2019 - 06:08:15 EST


On Tue, Jan 08, 2019 at 06:11:12PM -0800, rkir@xxxxxxxxxx wrote:
> From: Roman Kiryanov <rkir@xxxxxxxxxx>
>
> The Goldfish sync driver is designed to provide a interface
> between the underlying host's sync device and the kernel's
> fence sync framework.
>
> Signed-off-by: Roman Kiryanov <rkir@xxxxxxxxxx>
> ---
> Changes in v3:
> - Removed WARN_ON.
>
> Changes in v2:
> - Added a missing include (mod_devicetable.h).
> - Put in one batch with goldfish_address_space.c to avoid merge comflicts.
>
> drivers/platform/goldfish/Kconfig | 7 +
> drivers/platform/goldfish/Makefile | 1 +
> drivers/platform/goldfish/goldfish_sync.c | 827 ++++++++++++++++++++
> include/uapi/linux/goldfish/goldfish_sync.h | 28 +
> 4 files changed, 863 insertions(+)
> create mode 100644 drivers/platform/goldfish/goldfish_sync.c
> create mode 100644 include/uapi/linux/goldfish/goldfish_sync.h
>

Please get this reviewed by the sync subsystem maintainers to ensure
that you are using the API properly, and that this really is needed. If
it is needed, why is this a goldfish-only type device, why do not all
systems need this?

thanks,

greg k-h