Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

From: Arnd Bergmann
Date: Fri Nov 30 2018 - 07:58:57 EST


On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla
<srinivas.kandagatla@xxxxxxxxxx> wrote:
>
> From: Thierry Escande <thierry.escande@xxxxxxxxxx>
>
> This patch adds support for compat ioctl from 32 bits userland to
> Qualcomm fastrpc driver.
>
> Supported ioctls in this change are INIT, INVOKE, and ALLOC/FREE_DMA.
>
> Most of the work is derived from various downstream Qualcomm kernels.
> Credits to various Qualcomm authors who have contributed to this code.
> Specially Tharun Kumar Merugu <mtharu@xxxxxxxxxxxxxx>
>
> Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxx>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>

Can't you just define the native ioctls so that you don't need this.

Arnd