Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4843271pxb; Mon, 15 Feb 2021 02:45:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJynPvkvgB8yGPALM2Qylm0wmdX4qQbPyU7PCdlr34utMwjSrd2QhOKZWc2BHWhacRcSmXEG X-Received: by 2002:a05:6402:46:: with SMTP id f6mr14794309edu.163.1613385912143; Mon, 15 Feb 2021 02:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613385912; cv=none; d=google.com; s=arc-20160816; b=tizQdt5lNhBdx38X+n++yd8tenrKMUV3MM6ixbImuZCLFLDexMcuOwmtKD4DKl/Zd2 VUdXdDvN5vsg+b7Ylv7RMVmA/iew52/ciP6gGA8ooIeft1dH2pSuenO1a7NwuxBtLvx5 E6auaqM9FLQjb4Oh2ac4N9z1br/M18G5xAtaJq59J2gR2O2wJSPXyDKjO6gQkwN1PlW+ AMTcOiyMx2aq3SIpwXOnXX2ui+YMLcs2a7hI5CT+ka9JaWOWqmag/P078oOqQdyODP0e 1mlCB96xjsFbIU38KJkXD3hrcqMauGgYbN/sh4MaJZlUFFvlBPXxGok+KPyVOIpJcBkL 1/eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=WUZppdh/19rXzKQKk+dO1J3pUmyMLgAYsrnBis50KHY=; b=jlhpdFmUnEm6cxvChqHJNlQC+dcOUJqzSBFeZAN691pBZMOhnidHxtMmIK8PfFbnrU jMKN0pK0bUTzVIQpvk7MSmwYFJ9BbckeMfcGpcFUW3CR7KRUkZuPbBswraZC6GdTHbpu LDFvr79EIRuLy9GySGmAb3slvA7hmo1qUpJ4wssYODWipmCM3+Vck7VHZ6ixoe8RjOUt paRW9lZriIZWkiQVJFedxsJLPICpnHs6RkfVXXB9qOJF04NkuqHrae7u/rPifaQPpQLc iL5uknj/19udKHMjifyeNOXsnInJ8IAufVQ8PGhqh8wg8G5/3HkIJlVdOaRgYmUKFGi+ xWZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si11792471edm.43.2021.02.15.02.44.49; Mon, 15 Feb 2021 02:45:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbhBOKmQ (ORCPT + 99 others); Mon, 15 Feb 2021 05:42:16 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:45864 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230125AbhBOKjl (ORCPT ); Mon, 15 Feb 2021 05:39:41 -0500 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11FAaF4b023315; Mon, 15 Feb 2021 05:38:50 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 36p9gavkgs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Feb 2021 05:38:50 -0500 Received: from SCSQMBX11.ad.analog.com (SCSQMBX11.ad.analog.com [10.77.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 11FAcme2008325 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 15 Feb 2021 05:38:48 -0500 Received: from SCSQCASHYB7.ad.analog.com (10.77.17.133) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Mon, 15 Feb 2021 02:38:47 -0800 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQCASHYB7.ad.analog.com (10.77.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.721.2; Mon, 15 Feb 2021 02:38:47 -0800 Received: from zeus.spd.analog.com (10.66.68.11) by scsqmbx10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.2.721.2 via Frontend Transport; Mon, 15 Feb 2021 02:38:46 -0800 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 11FAcQUa017530; Mon, 15 Feb 2021 05:38:44 -0500 From: Alexandru Ardelean To: , CC: , , , , , Alexandru Ardelean Subject: [PATCH v6 07/24] docs: ioctl-number.rst: reserve IIO subsystem ioctl() space Date: Mon, 15 Feb 2021 12:40:26 +0200 Message-ID: <20210215104043.91251-8-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210215104043.91251-1-alexandru.ardelean@analog.com> References: <20210215104043.91251-1-alexandru.ardelean@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-15_04:2021-02-12,2021-02-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 mlxlogscore=940 phishscore=0 clxscore=1015 mlxscore=0 priorityscore=1501 impostorscore=0 adultscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102150087 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, only the 'i' 0x90 ioctl() actually exists and is defined in 'include/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 --- 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..179783aac8dd 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 `linux/iio/*.h` IIO 'j' 00-3F linux/joystick.h 'k' 00-0F linux/spi/spidev.h conflict! 'k' 00-05 video/kyro.h conflict! -- 2.17.1