From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26999C433E0 for ; Thu, 4 Feb 2021 17:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6EFF64F78 for ; Thu, 4 Feb 2021 17:10:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238187AbhBDRKj (ORCPT ); Thu, 4 Feb 2021 12:10:39 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2497 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237574AbhBDRI0 (ORCPT ); Thu, 4 Feb 2021 12:08:26 -0500 Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DWlJT5qGCz67jPc; Fri, 5 Feb 2021 01:04:09 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Thu, 4 Feb 2021 18:07:41 +0100 Received: from localhost (10.47.65.115) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021 17:07:40 +0000 Date: Thu, 4 Feb 2021 17:06:55 +0000 From: Jonathan Cameron To: Alexandru Ardelean CC: , , , , , , , , Subject: Re: [PATCH v3 01/11] docs: ioctl-number.rst: reserve IIO subsystem ioctl() space Message-ID: <20210204170655.00001b03@Huawei.com> In-Reply-To: <20210201145105.20459-2-alexandru.ardelean@analog.com> References: <20210201145105.20459-1-alexandru.ardelean@analog.com> <20210201145105.20459-2-alexandru.ardelean@analog.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.65.115] X-ClientProxiedBy: lhreml703-chm.china.huawei.com (10.201.108.52) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 1 Feb 2021 16:50:55 +0200 Alexandru Ardelean wrote: > Currently, only the 'i' 0x90 ioctl() actually exists and is defined in > 'uapi/linux/iio/events.h'. > > It's the IIO_GET_EVENT_FD_IOCTL, which is used to retrieve and FD for > reading events from an IIO device. > We will want to add more ioct() numbers, so with this change the 'i' > 0x90-0x9F space is reserved for IIO ioctl() calls. > > Signed-off-by: Alexandru Ardelean Hi Alex, Thanks for tidying this up. My bad from a long time ago to not register this at the time. > --- > Documentation/userspace-api/ioctl/ioctl-number.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst > index a4c75a28c839..9ebde26b7e32 100644 > --- a/Documentation/userspace-api/ioctl/ioctl-number.rst > +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst > @@ -245,6 +245,7 @@ Code Seq# Include File Comments > 'i' 00-3F linux/i2o-dev.h conflict! > 'i' 0B-1F linux/ipmi.h conflict! > 'i' 80-8F linux/i8k.h > +'i' 90-9F `uapi/linux/iio/*.h` IIO I think the uapi/ bit is effectively implicit. I checked a few of them and the definitions are in uapi/linux/ > 'j' 00-3F linux/joystick.h > 'k' 00-0F linux/spi/spidev.h conflict! > 'k' 00-05 video/kyro.h conflict!