From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752886AbbJFVdx (ORCPT ); Tue, 6 Oct 2015 17:33:53 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:37595 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbbJFVdw (ORCPT ); Tue, 6 Oct 2015 17:33:52 -0400 Date: Tue, 6 Oct 2015 22:33:49 +0100 From: Stephen Hemminger To: Vlad Zolotarov Cc: linux-kernel@vger.kernel.org, mst@redhat.com, hjk@hansjkoch.de, corbet@lwn.net, gregkh@linuxfoundation.org, bruce.richardson@intel.com, avi@cloudius-systems.com, gleb@cloudius-systems.com, alexander.duyck@gmail.com Subject: Re: [PATCH v5 1/4] uio: add ioctl support Message-ID: <20151006223349.4befe0a0@samsung9> In-Reply-To: <1444151859-10217-2-git-send-email-vladz@cloudius-systems.com> References: <1444151859-10217-1-git-send-email-vladz@cloudius-systems.com> <1444151859-10217-2-git-send-email-vladz@cloudius-systems.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Oct 2015 20:17:36 +0300 Vlad Zolotarov wrote: > Add the ability for underlying device drivers to register the ioctl > commands. This is useful when some interaction with the user space > beyond sysfs capabilities is required, e.g. query the interrupt mode > or bind eventfd to interrupt notifications (similarly to vfio ioctl > VFIO_DEVICE_SET_IRQS). > > Signed-off-by: Vlad Zolotarov After discussions on and off list, the idea of an ioctl interface is just not going to be accepted upstream because it can be abused. Therefore another API will be necessary. Ps: since I did most of this first, I am surprised you never gave any attribution for the earlier work.