Re: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control
From: Olof Johansson
Date: Tue Sep 11 2018 - 11:03:13 EST
Hi Jolly,
On Mon, Sep 10, 2018 at 12:17 PM, Jolly Shah <JOLLYS@xxxxxxxxxx> wrote:
> Hi All,
>
> Adding more clarification on top of what Michal said:
> Here ioctl is not a system ioctl and just a eemi API like other interface APIs. It cannot be called from userspace. Only Linux drivers can use this API for defined ioctl operations. This API is meant for any platform specific operations which needs to be managed by firmware. Firmware will always validate the request for action being performed.
> Debugfs interface is just for debugging during development. We can remove debugfs support for ioctl API if you suggest.
Are there any pending patchsets that make use of the ioctl interface
besides the debugfs piece? None of the ones in this pull request
(besides the debugfs) seems to call into it.
It might just be easier to leave it out until you have a use case for
it. The rest of the patchset looks fine to me, and I'd be happy to
take it. Once you have a need for it we can discuss specifics.
-Olof