Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3711820imu; Fri, 30 Nov 2018 04:59:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XJuwpcsnA0MD+R6Z2UxjqRZhX3dww9Ro3MXUNAInkBTgcpyBMMXNx6FfAQyXz339qzb38Q X-Received: by 2002:a62:9f01:: with SMTP id g1mr5478881pfe.223.1543582799809; Fri, 30 Nov 2018 04:59:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543582799; cv=none; d=google.com; s=arc-20160816; b=YOyY43TH3c9Vra7+fBHqOT9Cjb65I0G9+edSZrhhzmOtgTcKcAVMdnSgBkYHiWXIKp hgdWw1rVNTVhUHMblwjVQ8Gpee2vLEkTITWyO4h5unTLASmFSli7BjArAuhMscgKNo/b 85w2eccF5bKCUfls3BuDGjL/9Licvbrgf2CktrRyET9HrkBqx0GxTfs0pCTfhG+dmoio PjY2IAvhClcxgn64BxB4wv17MVbLC3T4+TLMxR742/V1wpPtOs/wJ7xgs87X/NjapWNK 8ajvgbq4A9nQGNIgEg4lD+RyXkpAoEUrzOnxE80UarTVuphiZY8FdZgEjpGTllG7nWas JPMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=3aerBP6lm7kFFV67ilmw6qMvPj/6mK7eECFqwlSngiE=; b=mZ2Y4mVy1NECQxybV6MJr+LgvJ8qIrC6g68am7ZVg16CLQcByyEn6qZoV5sMIdRXxt TQi8DDqE7z1kTFII9aBhP1+bMiBoyugfI1oaikQgeGSH3Usm0mws+IDQP4TVDWWt+YA5 YwHifuOGnCTbZhwds9urrztfKLkCvPJJWkVb/7f9Yg8LfESiXy7rCeNw9HOHcihxKeqK /CJNfMB5Op5j8hxV6mckixlZIlGAc9t5yRxde3C1F6+Xf6px0bLqbpe3eVh0NLng7OgJ 2CjjMRTnuQK5tgyt21vAdqzXFoN+N4cAmLaTO+t3gpOr04+aqIDXiRsJU8JMoZDkTu9r oFOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19si4588868pgq.215.2018.11.30.04.59.45; Fri, 30 Nov 2018 04:59:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726915AbeLAAIJ (ORCPT + 99 others); Fri, 30 Nov 2018 19:08:09 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:34882 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbeLAAIJ (ORCPT ); Fri, 30 Nov 2018 19:08:09 -0500 Received: by mail-qt1-f195.google.com with SMTP id v11so5767231qtc.2; Fri, 30 Nov 2018 04:58:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3aerBP6lm7kFFV67ilmw6qMvPj/6mK7eECFqwlSngiE=; b=azWlsSAsSQpd3u8ZLFouesv4AHcEXbahtJYFA05O4OS8PqCzovDYl/gOy69mgN2Kv+ slxT2rR/HGo3ZhE99R8cQIT8mJS3FsP1SCB6eJVPL8KQp2F9f4Ak9BwhRM+kNM6SwcUj zFs38z8eB8kXAvp4vVdCbSiJPmSOXc+x5/o+0Qgvw9FmxzwSEJrvRSsKjBV5yyO+0y62 Yye6hjggLId5FhzGGK6FWViZPxeU1noX9B9xJ6r0gU+BtnoxrBwgB48eUdrge2gP7RDP Yo7Cs7ZUyOUNj44ozZKx/2crk7o6WmmXv7t0fuGtg28yrecrH7PiD2ShI9vBWfyz3Qsk qN1A== X-Gm-Message-State: AA+aEWZZcsBPA/Wwu43kMht4wcEfAUJUVfHA2gvesRIQRC+qVBUn0hU7 brU5f8jbhfTx1Pdq8WfnmUwD2UpKgBlNpZzW7c2CCQ== X-Received: by 2002:ac8:4141:: with SMTP id e1mr5120850qtm.96.1543582734532; Fri, 30 Nov 2018 04:58:54 -0800 (PST) MIME-Version: 1.0 References: <20181130104657.14875-1-srinivas.kandagatla@linaro.org> <20181130104657.14875-7-srinivas.kandagatla@linaro.org> In-Reply-To: <20181130104657.14875-7-srinivas.kandagatla@linaro.org> From: Arnd Bergmann Date: Fri, 30 Nov 2018 13:58:36 +0100 Message-ID: Subject: Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls To: Srinivas Kandagatla Cc: Rob Herring , gregkh , Mark Rutland , DTML , Linux Kernel Mailing List , Bjorn Andersson , linux-arm-msm@vger.kernel.org, bkumar@qti.qualcomm.com, thierry.escande@linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: > > From: Thierry Escande > > 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 > > Signed-off-by: Thierry Escande > Signed-off-by: Srinivas Kandagatla Can't you just define the native ioctls so that you don't need this. Arnd