From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AE0D4A1E1D for ; Mon, 31 Aug 2026 14:31:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186715; cv=none; b=DTDQuJCYw+tOF9TgcviRh6AHmFxsCl+VkVlStIjlbJUi6ozXP3+v7Tm2HaxVR/T1vV9gq6WSLxqAbMeQUd1x8+E3dCQtmOhlstXJSVjSVC6e4HtK8fdUu39BYNp2oQCqHtk7ptqdaYNbdG1Uwiu58C4Y41ePQg08yxo1v8PD6Yc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186715; c=relaxed/simple; bh=ptU1ZlwnH6vGoRUuvyLN3kutz8OyEqpRWrw+X4HpfRg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gfegO348jD2edUlySWv1nEbhiDatMaNyuT+CC2HpDB61qdkkQ9Ywhlf368DwHdaeQvrb9QlQWenCgFBGx3Cj8upDtx0PKLff3H/6gY0EcvIuaGUsQCeiQSr5cZyD6N9zjfH4M6qomPWKZaw3M2ZqEt16WWwBnYPLbTwtUPQIyAQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FWWzjw5z; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FWWzjw5z" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-499b2981a7bso40013955e9.3 for ; Mon, 31 Aug 2026 07:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186712; x=1788791512; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=0URnMyQaQtd5j8PK7iDRRW4R8eCuSdT+xJY+FbyXAg8=; b=FWWzjw5zdYa5hemg0Bz508VnkzSVUhgGO8Ud33ktqXwJ1yzmBZmVFH4pD8jqIx+Mro LHv8ds1c2BCOVZWQpE0z5MpR8wEKZ3NmLg9SZRGdCrKg3HJ0npHbjOSNX3GkVJz5V2o5 yoKUMAe4Llps/svc1uOawDThQD8jiEtLesGMP0xkYOvaW27AEehLgN8S9JamztSLHjpa YhKll6vpaZFXjTagIidbocRnPB/u8shii+qanH73UDHdaYH9TdDYEfwwxwlbElHgbD8z Sd4GyjZR07kOUly9ppEu6F6RiuFw8Xj2Vxln+YrvlqJws9i4AQ4gr/BV0MSW+DSztHjI 9eWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186712; x=1788791512; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0URnMyQaQtd5j8PK7iDRRW4R8eCuSdT+xJY+FbyXAg8=; b=cnrCPlwfnECqVizyWiGVhsWEY9cCkgFR4MPmaj79+RqfNtxfV+nEO3Bn4uNhrQ8IoR 2i6WX/4l0Tog/cHn8CWu4wLGbiFn1yD8K+9YIozN1DqEYX52MWII8tR9LWAqSppSV1i+ JNrV9esF3ihwto5Y9LT2c1Jx0JWW1SDAtI8hcNGZ92nWKKjALjNfmDpK7kaVgW/wxBiJ KO0dmy1p5Jt+MyK/3EqDLPVPLgGz6yRMr0ARp3FbL7qVn628Sap+y3QEWBwR2arW62Hq IZAUHIfvj6whYlHszxwiAmDQcjScHfPlSbmhgzJyExbLY1cQYWYsUKn3zpXHxpegUQop RrdQ== X-Forwarded-Encrypted: i=1; AHgh+RrkslhpYZsBVd4/7QTp6GDARB9NY2UQ2fX4NNTTjaHv8qMunSaxOYZE8xlkmd7LXrJU+E4i/ytrJHj5B5I=@vger.kernel.org X-Gm-Message-State: AFuF++klLnA0jB6bx8wq5wKhYjEdz6Jz+7W2hkPCL4Z+xr+ZFcNLvKfe Xr3GHnPotu6KrGzhUzWKA5NlCOGuHFRm4Gd8774dYdLeikwAljJGSH9q X-Gm-Gg: AR+sD13exYzXjvo4atdyVlfjaaDSc5rAMuqYVojz0CygEKtwvapU3cdCTtII1Kk3Q4P GzMSBd28ue4xnmDdfAM1UYf9RhUGKXHq3ZYsNxsHhfn6XVHv3vh4Rxbn0UJUvE18EHNjs8cDok0 u0fhC85U1dP0+CdxtsU+4RlyVs1xJOx6PStlldi0n3JdVKhemuz3l4QJjUd+UOBeaj8cUKNqUfj jMQJc8gaOYFGNhk+f/OMrtYCpKUwQrJ1ByFdxJEhseTBtSHibBC67FX/GzBe4XprBwBfVzBh3kM vdxAHTEJDFS+blSvPVS9MeRUq+HK4vpuOCANNJVmeaDtoW431KrcMcX7/jvFUZvW5MdqX7EZT2w 7xlL0gDlNMzyjfGxOj9Nyw77G+dGIC0reyT7PigsmBBwmluTJV6/YXGdcFZGuiPzsDb2cxu8zZ0 5dp9vUxYvBp3zuaoNVSHbsyeBwwXZWrg63QsPK2kboPTX7OUCYPTsATImM+0+HGdvrblNvxf6zH oGB4sQfxWi7UWj9FV04AkPt X-Received: by 2002:a05:600c:a4a:b0:499:7a15:fcec with SMTP id 5b1f17b1804b1-49cdc567061mr21947265e9.13.1788186712229; Mon, 31 Aug 2026 07:31:52 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:31:50 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 1/7] docs: futex2: fix documented errno names for futex_waitv Date: Mon, 31 Aug 2026 11:31:19 -0300 Message-ID: <20260831143125.151360-2-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The documentation cited -EAGAIN and -ETIMEOUT, but futex_waitv() returns -EWOULDBLOCK on value mismatch and -ETIMEDOUT when the timeout expires, per kernel/futex/waitwake.c. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- Documentation/userspace-api/futex2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/userspace-api/futex2.rst b/Documentation/userspa= ce-api/futex2.rst index 9693f47a7e62..615616305c57 100644 --- a/Documentation/userspace-api/futex2.rst +++ b/Documentation/userspace-api/futex2.rst @@ -51,10 +51,10 @@ future extension. =20 For each entry in ``waiters`` array, the current value at ``uaddr`` is com= pared to ``val``. If it's different, the syscall undo all the work done so far a= nd -return ``-EAGAIN``. If all tests and verifications succeeds, syscall waits= until +return ``-EWOULDBLOCK``. If all tests and verifications succeeds, syscall = waits until one of the following happens: =20 -- The timeout expires, returning ``-ETIMEOUT``. +- The timeout expires, returning ``-ETIMEDOUT``. - A signal was sent to the sleeping task, returning ``-ERESTARTSYS``. - Some futex at the list was woken, returning the index of some waked fute= x. =20 --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 359274E3769 for ; Mon, 31 Aug 2026 14:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186725; cv=none; b=KSThNpJxtWF8MjvEnwEqYo4NtuCW0jCGoXcCFQd/mEnr8r66Uxz/f08CTBsOVQQznLP2RBmQ7uDbtKM33e78WnQ7HmW9yEfgMymr+p0lm6pmRJEtOpkOFc9vcMRaI0FxCX9lRDTJx7rESWCMZwHtCINegvgrG3IQ7j3I8f5Mwk4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186725; c=relaxed/simple; bh=TUnjuVNTMvAhZF9FTkevSiPKsEs2vsMID2000or5ufo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Uz97Z53//lUWvShwahhizMWav7FFskevMDMVb4bncFJEBlTK/6186VKUk913mAQGdwRPoAIIvFUcaxF4MPFTgEyxFtvHy3CDFwCQIfa65ERKxlT2SNa3cwJVeTVOb7vvxlFR3EdbHkLUIPJiUETwixBoim8ab745LCEHpNNG100= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bmC4Jg8E; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bmC4Jg8E" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-49b965570d7so33299345e9.0 for ; Mon, 31 Aug 2026 07:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186722; x=1788791522; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=7NP691EgnqrqnLjGXgIUg/rmeTCElLgq1DAscm0V6r4=; b=bmC4Jg8E24KHYj+K81/0TOVmD+M2DUPuGBHHXe43jS7cY+PYDXy35v3rD9CnSSVoYF 2WS9lCirne6mvYn/V6HENHNnSXpKYH/hR7Ff9CBGk4U3eCKCfCThEo2w94xfuiVYpyJi ARgSIY78QdONohckLCrzyFy2FUsuyAoS9XJhfxGrrOKZIedu+Om0fKcXqAkTsIo4jnzr 2Y+Ll/w2P3g2Eo9p0kt6vWiCfgNKG+NBtuww+e1SNjW87eAoho4N3g9gUvWAsqaMprQf MggcG/xvXtu8eGJLAAXwaMejs+QbPHtIHk4iNttVdBPQg8cvFH0KpNFACAEJ/0orPj5E jSlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186722; x=1788791522; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=7NP691EgnqrqnLjGXgIUg/rmeTCElLgq1DAscm0V6r4=; b=Uc/+eKoI36c78pv7FafTVHi0AJI+80h/SeQjIpaKlmOdB+ajjYecdlkZWHoEBRZDAq q5NW8YxOiWwk3Qc3VjjlymZ88PdKVZGTNIPbJdgIbrohfhBuIrQxfjPmadskIKVhuOR3 IJl3ElNwgkhYMSMXw8wPQKTHON+PhQyCjE8965wBp/MM9vnsTFrZ7I6PDIi6vO6Oj32E SzmoVtQLqo3+oZWUcLRCaYPCyXDsLtVx9SBrW6bdDhhUhnkTuXr+B5v8Hyg/impGPxwn w98ThHDIlkRS3CMKgmxvzCyZOSzXu5r9/MS8WlGBGaty7Bry+5wCzJjK4EYQSuqGOUwn 2hVA== X-Forwarded-Encrypted: i=1; AHgh+Rq2yhCSCDMaOi+cNwilP7jHuZhmxKMHNr/e+UAggXY+DUchCwMDBdxLdQ5fabhMZ4WjsAzIBO1cWLDRyNs=@vger.kernel.org X-Gm-Message-State: AFuF++nkLSWY3v1NN937DqmxBJahKJJ5EEfkxL3dg3xkBKKHpvCeoX9L D7TM70RF3vH2GOh+/9ACcEwj5zbICjSSjUFlcEqAGeguW4LG6lA2Macn X-Gm-Gg: AR+sD12JrDEiPLNPpoJvjuETIgyu4Y1iWMYeXAw+vWWqpIqqKTTbcMUwozYhJ7apP0N gcjPKwaBJFRWE40f7uIrF0IWEvIZYOTzkFekJgEo+6LEmEW71zurkF9OT5jSh3i94H3Ng3vfsyY IMxR2eG5zR1C23dGzW409oC5Fc0XxNKlsjjeyaBaRU/uTTcJ/HuMZWCGNDFN2x9u3O1UwqJp9AH BJv20T5UK4bh5frSuunIpJGr6dSR2WRhzeQiaY083Hg9eNo8SGaPwPHQiXbLKbDONMtzhX1eWVE xmuqESrtN1h3HnAt2w4UaFLtmk7fVXyVxUHQTS9rf6qkvxfXpUGib+zJx+fSA+x7b+DR+WJdl4x g9PvdeitlH6XdVQkBPCjpwLj8tbtXkQY6t+Ubu901R/zJ8GJQh3ayNGTDopSHWVsNy/FPP5WaxK 3dVQtf0hJO2r/PKrt+39hsaKp43bKoYhyQygVlfXVNRokKPgz7ofTysJBlnwtQeo0tvrYRtnpwZ mR3axh6zVGrTl9cLNujW33C X-Received: by 2002:a05:600c:a01:b0:499:cd34:100d with SMTP id 5b1f17b1804b1-49b91c33792mr362331505e9.7.1788186722075; Mon, 31 Aug 2026 07:32:02 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:01 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 2/7] docs: landlock: fix ENOMSG condition in create_ruleset kernel-doc Date: Mon, 31 Aug 2026 11:31:20 -0300 Message-ID: <20260831143125.151360-3-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The kernel-doc stated ENOMSG applies when handled_access_fs is empty, but landlock_create_ruleset() returns ENOMSG only when handled_access_fs, handled_access_net, and scoped are all zero. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- security/landlock/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/landlock/syscalls.c b/security/landlock/syscalls.c index 1d02d57f4c48..400a2f928de3 100644 --- a/security/landlock/syscalls.c +++ b/security/landlock/syscalls.c @@ -204,7 +204,7 @@ const int landlock_abi_version =3D 11; * scoped; * - %E2BIG: @attr or @size inconsistencies; * - %EFAULT: @attr or @size inconsistencies; - * - %ENOMSG: empty &landlock_ruleset_attr.handled_access_fs. + * - %ENOMSG: empty handled_access_fs, handled_access_net, and scoped fiel= ds. * * .. kernel-doc:: include/uapi/linux/landlock.h * :identifiers: landlock_create_ruleset_flags --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C70C4E56F3 for ; Mon, 31 Aug 2026 14:32:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186737; cv=none; b=KGUiGIjiGgzUEW5FGlYPy0ts+Z3aLrP0xTtMz+wg0++2vUDp1i26xDWfL4DeEAS5I26K5a3De9lxXHPdU0UmciYLFRkU8VE5LkRdjgT75X47vsrxFnBoG7/jQ6kc70f/QRGddpCT7vL0tTtWghnuSLebj0Dh8XWd/9nV56Qlj5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186737; c=relaxed/simple; bh=OzOvqUUyFScK+c4Qm0JM+we4nmEqm3utvu0fjkr07bQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hrQY6kkDwByUJhxhgYC2eMY6BTm9vTF6RH21+lsUl08hFAwytZNiwEVvqcelZYw43sEL+SM9vDh4niDt8l+Hq8iJpY+hUNmSY8Qt375sPSOCYmi6wsD3KDNo62vi/9/oq3Nl3j0shpzvz+mIshuXHlM7+ilPqHUr4ug08oMa51I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VuFS7zui; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VuFS7zui" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4998b5a63e2so34011455e9.1 for ; Mon, 31 Aug 2026 07:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186735; x=1788791535; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=/P140PVQM179Ozwd8WDoSSuyK9DDQ6P2ESr69rhbMhw=; b=VuFS7zuikF7DdpJdHg+JELfjNSOvQUwUEw3P5IVqe7DRtCcJLMftwcQtBCnP+gt6lx yEh5yTx/M+zAQpdzg+YCt711JxkNRL1mxEFuTR1+aNOSspgLNmvMaLwOGmI53nOTFEBf fkhXxQBBRG9BvV06G/sBQX07n72zz88wZE7q7P+RNy2GstNo1zus+cYB/w2kdNVRpaQ/ Wgm/Zqq4eAZ+2BUqzgCw35KbmrZSBehlT94UNAfNS0Pcja5DJyJbp9odSvEn7ydrRKDr mROJJlxTL8J2NBUQuhQAolKFmaGdN/ENDUrnTGZ9mgGm98/LSPMBZ0vPX0FYOq1w3WtK SLsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186735; x=1788791535; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=/P140PVQM179Ozwd8WDoSSuyK9DDQ6P2ESr69rhbMhw=; b=LY4b0fwOUSbEnQ6Y8X80n9Q6KFTRej5Q4KZDMkIP7EZRnmIMCxx4rw9o/0P0PrUXuv H0uCNZpjJvcfppsRhxcJAy5wtEXTW0RGpjq6f6WGpK7WFZA+NynKVYptvVkgVXo8pxsm nDsIO3ISIhqYKQDFt9HO0j1Pgsq0wQyEVZidInvbDCU92COVdyo78WR/E91xgefvIiYj 4EFMmpYa6snExByt312Wr/hGhaXx47b187yMnJU7Mo7ZNhgkqePPGD8MI8xN0iYdg+gj uqkF/IwqTBgNXZQf4Y9op5YtQ90vGYfo4oOOgnrDZRk/VSmekwoKYyHhU4Zppo/q2qWg /+rw== X-Forwarded-Encrypted: i=1; AHgh+RodjXQk5NlRlfDPqvUKiXyE31J7MGfv75ITG9IGTd4svJGFqoLL0pymIecUWGEWKnmMu5RdSPXf/lmCD10=@vger.kernel.org X-Gm-Message-State: AFuF++notOFGBtSPRjhwvnavhtAta/9GW+TceEy+Rtjlx72+DG1mb0Mj uXQhmjzBNMdfkyx4MGHVKi09rDx8qH5IOiPZvmibiukFCVWN/uaU8kYB X-Gm-Gg: AR+sD12gI98UGHkAOCqlKcnd5EvOsSp5Eng3YzA2OC4u2sRUsCqvv7t3ZMM7oW7L2Bj EjOQkakiemgOX6X3fmccW5Tyz5giHRqIX5/KRIAJycey+qthoGY2ckWLsMh9AVQ1H2WOQt5eDva VlvHLRE5nNP1YFXKEH4izMHJdTBeOUukbbDo7Qjui4+Pc/Wdx1Ca+tbv2BvnfLo+Fx98Rqb9zbq sgcoQxr70GhbLDnIWgl3TvAsvJIqxJyt8s3gb86bx8X8WUnCd9o99S05TVnpB5riAj5UM+bHXMT E9xN6j+cZ5TCi9/p8BpA3IXkzQFsxuezuK2yTLudta87FeOLPrqbD7ADwVqD4v6+286KjSx0bU7 U+PjjWPK0tcjdoZ3mpvYn2hqZXQr5I0bfm0VBxEuBYtLIND7Pzu/GTg7ZJQqDaLAdpLgp9eZKAk Xw6Xd0PT93t34eJL2vbd6j2MmInIixOkPvmAbCy5amkXevxDeWxDo8nApO8i6X9mPnVBTeIZZUc P/INoFn2FppFbd5NpYZGsh3 X-Received: by 2002:a05:600c:3b20:b0:499:8704:242c with SMTP id 5b1f17b1804b1-49b91bd78cdmr340102515e9.0.1788186734682; Mon, 31 Aug 2026 07:32:14 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:14 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 3/7] docs: gpio: note lineinfo padding must be zero filled Date: Mon, 31 Aug 2026 11:31:21 -0300 Message-ID: <20260831143125.151360-4-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL reject non-zero lineinfo.padding with -EINVAL; align the uapi comment with gpio_v2_line_request.padding. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez Reviewed-by: Bartosz Golaszewski --- include/uapi/linux/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h index f7cb8ae87df7..5515b718886e 100644 --- a/include/uapi/linux/gpio.h +++ b/include/uapi/linux/gpio.h @@ -218,7 +218,7 @@ struct gpio_v2_line_request { * gpio_v2_line_flag, such as %GPIO_V2_LINE_FLAG_ACTIVE_LOW, * %GPIO_V2_LINE_FLAG_OUTPUT etc, added together * @attrs: the configuration attributes associated with the line - * @padding: reserved for future use + * @padding: reserved for future use, must be zero filled */ struct gpio_v2_line_info { char name[GPIO_MAX_NAME_SIZE]; --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 216444E66C5 for ; Mon, 31 Aug 2026 14:32:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186748; cv=none; b=C+UPB54ldyIldmD6bsMRItMkfIGuVNNkjPoMKqpTNcukGcOyyLWPo9pNQhBdCinwrd61g7mTWeHCbutDixtUH8EWWwxHZlgCv6H+kLdyLBfcZGzS6svIT3tpvod4fWLhZ2+YKMR3y3T3Qkf4QjskKvIYbXHoy398SQmZl7StZ3A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186748; c=relaxed/simple; bh=lVZf6gXYP3rEKtgCbZ1/usOfq9IncQX1+3NXISeMmjI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=e9RQZi2hyaUwiWuCrVyvXYczwaUcmr3TNntgCniyqVCVGHSt7faY5xZy5I1KCm8zDkDWNNgttB/zORBIBI8PAtuDwGWabvQhcDN+b9EgSNBsBJrSqiNldszilqKrwxa8oX7hQbOEKfhEh+ZQo3z5a4ToqLh5kTz/C2zQBI/gSEk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Nkv0toe2; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nkv0toe2" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-49b8f86c6deso20873505e9.0 for ; Mon, 31 Aug 2026 07:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186745; x=1788791545; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=/OQas85hzDcBR25BQh9+KAtaxVWL/DH8U0ZJQTxmJD8=; b=Nkv0toe2RMtu4schcQreMthBPsxhBLWPSLYMWI7zMWjZIQtZwrGlKijoof46rz5sb0 O4yafgC7W054ts751jRYoD8NS/mO4n/EzzA4eISqkMo9Neop69PdRu0XmvAfhTyr4bId XMdo8fZWxF3/4o6oA+LZm4vMs/P+1b+m8myt4l5xZHrQSm6BJ7EUhGDQv28shiV8K+s/ 5WemsB/8beAoC/8e7gCz+5nm2778JTiK4paQb/3x948O7ZQ7BBfttkY0wSA40aPLe5rR 8aDJAVePcQtN2YvM0RK7wVHgOwX+XHrrHUbQ92x+Qt2yoEQ2JJUbmedRlDj9Zh5JuIFX bj/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186745; x=1788791545; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=/OQas85hzDcBR25BQh9+KAtaxVWL/DH8U0ZJQTxmJD8=; b=kaPxNlx+udBAcBNhpnjZtiBY1fa5vpXG2uczC3K/+ds40vVOg1qc3o3BgBciESSkKO aAzkCsVGpsn1rbrJknEOZ5hpge/u27BH+MGnT8umjZJIhbrBIpcjb3IHqpQtNoyAY2Ts n9XC1XftpNV03SSxUUF1s8yx4g/pAvMSAfjJjItbOls9tzgEWL/ukdBKOARxm9m9MRqf rxpCwWzZz1I55Q5h4T3BRxvznWi8qgaMwC8MSe0L9XH1Rok92ZHq3seLCG1Vilx2Vg3B JqeiuSiqJIExoCzNxQexnsFyYuOHHkIPTxK4RE9I+W4sA0cIUl4fhdDsLCBzZykzP3FL TVyQ== X-Forwarded-Encrypted: i=1; AHgh+RojL+gCoV5CzbcZhmSrF90abjlwKu+jn6YJSP12yFELI9zI4uVdaTxVqhHZr4Q/m42IY7hlYj04fXZMfcg=@vger.kernel.org X-Gm-Message-State: AFuF++lfQ6Sd7cZ1dCIMRF9IjNpLczhI3hwqdxaMEZH9vHlL+J4+jf4F 9uojaBXLqxK0ka+G+9Z0TVApPHi0KhdiidmHPXmGTNV6u3IFOOT6Jx2P X-Gm-Gg: AR+sD13WuvKZf+Mp4LhvRmfq64eYqJFRxf1Zc+Rspq8DQlv2XDyKVzELzux/BUbMC6F h7YQ0AVAwtySeNy5Pjk0DiWfu/tjza7crw7hT6JjgDBNA6t++sr6RyJnAlvpEAhHKFpV8W6rOkm 51lxUR6ucjAZZKw6D55F1Ba/JtTLBdMtFcVsSR0zysDFRbhu1C1vbRXqiH98FGHbuD9XXErvh11 eBR++hpBngqHGX6X1bGW5uIGDo5pzv+5hi5811EeUk6Zfwjo0j1zGju7jRGgeaisrxGDptg70GI /LdIR6jIonZopa+DMeEuHvHa3gPjiG/nveH1C2y6yadTHPvxXckmaRC5dPfH3kagQa895fAJW6T 7x3nuOk2O+90QAt+hE7fkH8af+9/8GItF0HGmqXJxZlm3yX3gVgKObgU46r46mGr/06v1Zb+yph WNqPHbFEXxgyFMlESjwjMbgUF7gMlukUOYa/DRjF5NyzjgA53XR+gJ9JqBbCbuBLhXyI2PLK7gV Gygmap8rGh1+AHRhwWbXc/u X-Received: by 2002:a05:600c:a48:b0:499:9eb8:a1d7 with SMTP id 5b1f17b1804b1-49b91c3b7b6mr330456825e9.9.1788186745344; Mon, 31 Aug 2026 07:32:25 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:24 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 4/7] docs: dma-buf-heaps: fix CMA heap name typo Date: Mon, 31 Aug 2026 11:31:22 -0300 Message-ID: <20260831143125.151360-5-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Line 39 used default-cma-region with hyphens; the registered heap name is default_cma_region, already named correctly at line 26. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- Documentation/userspace-api/dma-buf-heaps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/userspace-api/dma-buf-heaps.rst b/Documentation/= userspace-api/dma-buf-heaps.rst index f56b743cdb36..92099188893e 100644 --- a/Documentation/userspace-api/dma-buf-heaps.rst +++ b/Documentation/userspace-api/dma-buf-heaps.rst @@ -36,7 +36,7 @@ following heaps: - A heap will be created for each reusable region in the device tree with the ``shared-dma-pool`` compatible, using the full device tree node name as its name. The buffer semantics are identical to - ``default-cma-region``. + ``default_cma_region``. =20 Naming Convention =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F1D04A1E0B for ; Mon, 31 Aug 2026 14:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186760; cv=none; b=eDSOUFNkcrUQopG1ztx8a3gGRY+2/pIpJD2CJq3iw0m/ZBnEfzJotI7/kXtG3C3TAeZnWs500mLEcU0Kahg5Ifu024cPcKDuoBXBk5jcYecMzRPGsREmUdXzD/oMvfTFRfZiLMXcF7k2yatg0NXYJCGnrp9JzX9TFAUhRQw6oIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186760; c=relaxed/simple; bh=sfikze6+gZ+EsCWAIYm+ZSac24RursuN4Dou+8L9PbQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qLtx6aQj7MI0Q3Rc+ioR5qG8nmGtNn1iWHdj5GRwI1WEo4XNEdUe1/oqHp/5ORk3CzH5TGy7S1BYmeK/sG4ckgWic8mTSVcB1jMfUeechlPdUsfaEi+thGKmtV7DfdGQHHtHovJ+pcR1dbFCQ9+SO9WLikD+CsA9OWoLGgpbtnc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jq/IZcF3; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jq/IZcF3" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-49b96837ca3so20084655e9.3 for ; Mon, 31 Aug 2026 07:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186757; x=1788791557; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=1zuj9/JVZ1cDk7VZA+4erdxKCKl7cu9pGDcl0kl4ePs=; b=Jq/IZcF3R08hI+MwFgCrYpkcIOPhbeXbwseqGCz2fytVFqmai9Ei7ARh2eOC/r3mMp qosaltlmmXsGTP9Pq5TtptZev+EvwOGDx71X3SA+BvNwwGU27v+PxTKJGSmYQyWUnRkp nHHnbEaH+017xc8Og11BhE+tyoc2ZZSIArAUkbUnRgBftL/N1OiOLQSc0bTP/Cj/Veqi sCmEl9bhQXM8Udy/F6h2wDmAno67TSWHhrDBFWZPHx70TiKRlr84ax6XIAsYbybvlBeX PBv0VeZ00EnmDCoH48fuXpiMMPMuhdCKYgz1Mfs99j8CXCuEPbOthnpjfEtxbIWS6jbn W/pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186757; x=1788791557; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=1zuj9/JVZ1cDk7VZA+4erdxKCKl7cu9pGDcl0kl4ePs=; b=BXXM4MYCQvkJuas4vtbA0q35Je7xwO8bycMhaNcXqj2nrKWl0C4F0izDk94sb7z2Au MOgYIPq43m5f6t9QSZi4TlwE4zIuLtzyAlxxujz6aTHrWEVEqgX919RKKaaqZ6Tt4oM4 VV99thdm2V0xtCah6z3kz7MdLHJdEmRT0yUQhLBCgGuhdjL1rDB4PrbJD0iKWE7ziqxh 67o+/j4KOYvKkI8kDbook9TfICSmLugqXlNyvXAuoYPET7Ys20zlMdhbhb4ApZVRJHr5 X6yoW0fRsHPSTwpzAU7KtZVmhKeJNPaf/fzvH1kz8l2WmSwayQct22YIyYTV5fJDQC9f 2AJA== X-Forwarded-Encrypted: i=1; AHgh+RrjzPFmvb2TNLdj3loANOHvt0aC4jOVPFnXaNebIOsV7ZxPAMrSsBajz8tzUpEJlek7vnk3mV/8g/M/PHI=@vger.kernel.org X-Gm-Message-State: AFuF++m8z+1mxQcJsHIXu3WzdDkMEdmfLuW9FNOShaZiEIYeDsehrp86 d98zs/hwSoXfwo8yHjMjqPvruR1+/0yxQkF2UVbkHadzjBQH5mWDQ/Oh X-Gm-Gg: AR+sD10biQJBw10X76kH9SZerg9wn8/2IAWFW1GnFfzldIqWV5S3InCd5VukfGiOMcK FMdqJRTptr5GrjeRJf6nxbytW4AAId5kVt4yLOJ3LJuj69cwn40yBb9uTXKYCtRx5dLXNKwXxqj qoUmUyYIK7bTrPozHOhJP3vwQidvbWuxkJgJbgzSzqwTkqLjLUSRqQj3uFFd332Fd6pa6VK3eTj 5Vhykg5oQlhSdGADCcskAYyXG8wpHeItLnhVm2lhhbpmUSzO/EgGE7gbIFSCn/HCxfgR8uA2NiC /xZmoa8+Qf1CE4hnRK3/ZEQ+CIb+BxB4MJbcgXUfVM5Id0CY/W5EyuwX0UkWTrct2PtBJz6+0Cn HHj+thOiguWo967V/rSrim06oMKxa/TwCGFXxPl+aYKPG8mlNEb8M99DieDNKUR/Od8oDYahwuE YTvyvXMn8bo/5BP0bpaLpbci7TiouEzeVpd5FYTDsr6x1tTWEwMdkWDFhI5d6GukxgjZixNuCx8 lpnhOgu5VfJixHvbikegAcg X-Received: by 2002:a05:600c:3549:b0:49b:5521:785d with SMTP id 5b1f17b1804b1-49b91c1e9d8mr389591765e9.4.1788186756314; Mon, 31 Aug 2026 07:32:36 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.32.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:35 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 5/7] docs: vduse: align documentation with current uapi and driver Date: Mon, 31 Aug 2026 11:31:23 -0300 Message-ID: <20260831143125.151360-6-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Update supported device IDs (block, net, fs), all six read/write message types, the VDUSE_VQ_INJECT_IRQ ioctl name, and VQ_SETUP group vs asid usage per include/uapi/linux/vduse.h. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- Documentation/userspace-api/vduse.rst | 33 +++++++++++++++++---------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/Documentation/userspace-api/vduse.rst b/Documentation/userspac= e-api/vduse.rst index 81479d47c8b9..d316857ca5bd 100644 --- a/Documentation/userspace-api/vduse.rst +++ b/Documentation/userspace-api/vduse.rst @@ -11,11 +11,10 @@ to make the device emulation more secure, the emulated = vDPA device's control path is handled in the kernel and only the data path is implemented in the userspace. =20 -Note that only virtio block device is supported by VDUSE framework now, -which can reduce security risks when the userspace process that implements -the data path is run by an unprivileged user. The support for other device -types can be added after the security issue of corresponding device driver -is clarified or fixed in the future. +Note that virtio block, network, and filesystem device types are supported +by the VDUSE framework. Other device types may be added after the security +implications of the corresponding device driver are clarified or fixed in +the future. =20 Create/Destroy VDUSE devices ---------------------------- @@ -135,7 +134,8 @@ module as follows: return 0; } =20 -There are now three types of messages introduced by VDUSE framework: +The following control message types may be delivered via read(2) on +/dev/vduse/$NAME: =20 - VDUSE_GET_VQ_STATE: Get the state for virtqueue, userspace should return avail index for split virtqueue or the device/driver ring wrap counters = and @@ -151,6 +151,15 @@ There are now three types of messages introduced by VD= USE framework: IOVA range, userspace should firstly remove the old mapping, then setup = the new mapping via the VDUSE_IOTLB_GET_FD ioctl. =20 +- VDUSE_SET_VQ_GROUP_ASID: Notify userspace to change the address space of= a + virtqueue group (API version 1). + +- VDUSE_SET_VQ_READY: Notify userspace that a virtqueue should become read= y or + not ready (when VDUSE_F_QUEUE_READY is negotiated). + +- VDUSE_SUSPEND: Notify userspace that the device is being suspended (when + VDUSE_F_SUSPEND is negotiated). + After DRIVER_OK status bit is set via the VDUSE_SET_STATUS message, usersp= ace is able to start the dataplane processing as follows: =20 @@ -227,7 +236,7 @@ able to start the dataplane processing as follows: described by the descriptors in the descriptor table should be also map= ped into userspace via the VDUSE_IOTLB_GET_FD ioctl before accessing. =20 -5. Inject an interrupt for specific virtqueue with the VDUSE_INJECT_VQ_IRQ= ioctl +5. Inject an interrupt for specific virtqueue with the VDUSE_VQ_INJECT_IRQ= ioctl after the used ring is filled. =20 Enabling ASID (API version 1) @@ -238,11 +247,11 @@ version 1. Set it up with ioctl(VDUSE_SET_API_VERSION= ) on `/dev/vduse/control` and pass `VDUSE_API_VERSION_1` before creating a new VDUSE instance with ioctl(VDUSE_CREATE_DEV). =20 -Afterwards, you can use the member asid of ioctl(VDUSE_VQ_SETUP) argument = to -select the address space of the IOTLB you are querying. The driver could -change the address space of any virtqueue group by using the -VDUSE_SET_VQ_GROUP_ASID VDUSE message type, and the VDUSE instance needs to -reply with VDUSE_REQ_RESULT_OK if it was possible to change it. +Afterwards, ioctl(VDUSE_VQ_SETUP) takes a virtqueue group index in +struct vduse_vq_config::group. The driver can change the address space +of any virtqueue group by using the VDUSE_SET_VQ_GROUP_ASID message type, +and the VDUSE instance needs to reply with VDUSE_REQ_RESULT_OK if it was +possible to change it. =20 Similarly, you can use ioctl(VDUSE_IOTLB_GET_FD2) to obtain the file descr= iptor describing an IOVA region of a specific ASID. Example usage: --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16A994E80DA for ; Mon, 31 Aug 2026 14:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186770; cv=none; b=UNocTWUTuNnJ+qXmbAEqmmvTLboon2oCetEWOZrTEpi81Ak+V2xUFtKzguX9kd+MAXKlTLKQSAc1dCmxfYjkMDGJROCavOFMBLketiSmaBPe+jGemebkjjdxK9V/MqasbSVkKYGsQTuzLzRhXaEu/7XeA2UkzPRKOFevJ9Yc3Yg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186770; c=relaxed/simple; bh=QjMSkXe0n6TBETzI3Ha2tiZ8wGiaGM9B4fBWkY0BniE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Uf+jwhA0tLygNNiYve1pJ+uKsUYDGbN8juUZlsdvlkiEoi8X7H7WozfQjwh4Qb+qZ5G3reqrNPfegAMfw6vLrIsfd980HRJp/VuoUmtcJlLBFPF9JJc3Oo5lVVLudjU5oTYrstJi5HgViack7Ai94fUCDvc1m3/kdvR+Igk1VcM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MJnW45oV; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MJnW45oV" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4956869750eso23182475e9.2 for ; Mon, 31 Aug 2026 07:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186767; x=1788791567; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=GWaK2495asznjoEZZji7S7Kk6wtOsxYz8ipCUtATvyQ=; b=MJnW45oV/XbuoEXUI/vDyeIcwima7IgbqwDMnXUeA9/qA00WI2LnycOSpegEfjJ3bi S1l2OLs1aGxU+0h/CUa6vz8m9sMSYJBZzxdx7lDCCFZrHBRXqx2X9dbeF37ywz4aLyFs svOD5aWoe8Wi0PpjMjTLOF48AnhGbhzaNjLZ7pQGct4J26cb4GQnS6E3CdGCLXZQjL8q zr0Jc4kmjs+j8arYX+UYQq6cKwYODMTavh4E8/aW/6yuqkRRl6TPYgCVo5qAfFxPKC7X Il9T/BPZK3G/HB36augVssACj0reTm/X1Z0iDnDkdBsZHEQmzjac3rhGQTE1ZDhxjbYv +4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186767; x=1788791567; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=GWaK2495asznjoEZZji7S7Kk6wtOsxYz8ipCUtATvyQ=; b=T7HGnm34+Ljn7Dd5G3ev1vvc6zeJzuX7by+jvabf7stApmoiyECjs09A/sOrR0LRKp unhFoj64O65gXAOPtEWDhnjVcva6zvHOw8ktyZAetEYAJGE+34zKVHk2wpzs52VpQjoi /WYLSJUxzdYg2M3pI5pkoV/T75kMqexQY31w84C/x0cffQdf9u+eTF1Ey5n+X7sZqdhW WzaR2rLXL9AMYxyQaokzoRQ9A6m8KGP+7iBRzoRKVkb0YJhCJESLjriZn1l7+DrgwAC4 iyL2Kbs8+OeDarsb19eFJNcULZhYyR2QQ3X0pf/HgNg/C6v6naOxT/L/lCgazJ3gUJjf ecqA== X-Forwarded-Encrypted: i=1; AHgh+RocnSvhgNwErZHvyh3DOPs/jPvo1IszovGkJsQEucWQWw2oeP7mo3saahTBxx8XyHCeQbNvc8gScWbMeuY=@vger.kernel.org X-Gm-Message-State: AFuF++lylKxIdoP1dInOrF6RdQ0Tj7JTPKD1e54IZFPrG1qwBWqMSsbI 2vIfcOeG/UJC/u68EZc0j1PvS/kHjVglRMZpamIT7iFatYVGQl0zItuX X-Gm-Gg: AR+sD10RXrYXMFxIfJFoqMIqMiR7rYo7ukcyMKkhmZP9rvtWbMFo9HUqXUXn+hHw+Ov MLwGvyTbqRVdKxUHJsuP7KJtlhto6ocgr1ILULYxTnkdo7yG2KaJhtYY2r79E3W8j/hyCFwRnsq nZugIVN8x3rC8pGO2P8DvQ7MtZDJ543TW2cjP4GJiFxO5dRhQj1yWo5p6Ku6a9JAZqMDWq9lZb7 ROV+vPjTQu8LJNq0xZudEH0HVIqXRBKVbXIchOQF7q8Tr+1RXUaq/Xu9yTjzQSlzI1Va0k2zpjo w4mdLPKkiItGOT1kYUw8+flU29g2++6vwqd4l2RRmgl62zKTLQ5mgXfMLhPe3tKlaMhY8qCzQKf 1F2nlifVNYgGp8BB63ihdXtvAm32Go3NEEdhIjfWMoTruAoEJoFE2a6NPp1rtoEFhZEZgJKnCvx wT4phAjHFjfWc4H9ky6UcE1buHyYtQ8rFsZIp9zjoKKJWonG1yywIwweDFeLk5O81d+JXcRMRcV ihq4L7D2v1iAGMISOpq5lMU X-Received: by 2002:a05:600c:c494:b0:499:8aff:59b6 with SMTP id 5b1f17b1804b1-49b91c486c3mr330092135e9.14.1788186767364; Mon, 31 Aug 2026 07:32:47 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:45 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 6/7] docs: ioctl: fix stale NVMe registry entry and note N conflict Date: Mon, 31 Aug 2026 11:31:24 -0300 Message-ID: <20260831143125.151360-7-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The NVMe row pointed at drivers/block/nvme.c, which no longer exists, and ioctl numbers 0x80-0x83 overlap between ntsync.h and nvme_ioctl.h without a conflict! marker. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- Documentation/userspace-api/ioctl/ioctl-number.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documenta= tion/userspace-api/ioctl/ioctl-number.rst index 2fc53093752d..bb7004e6043d 100644 --- a/Documentation/userspace-api/ioctl/ioctl-number.rst +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst @@ -181,8 +181,9 @@ Code Seq# Include File = Comments 'M' 01-03 drivers/scsi/megaraid/megaraid_sas.h 'M' 00-0F drivers/video/fsl-diu-fb.h con= flict! 'N' 00-1F drivers/usb/scanner.h -'N' 40-7F drivers/block/nvme.c -'N' 80-8F uapi/linux/ntsync.h NT = synchronization primitives +'N' 40-7F uapi/linux/nvme_ioctl.h +'N' 80-83 uapi/linux/ntsync.h and uapi/linux/nvme_ioctl.h con= flict! +'N' 84-8F uapi/linux/ntsync.h NT = synchronization primitives 'O' 00-06 mtd/ubi-user.h UBI 'P' all linux/soundcard.h con= flict! --=20 2.43.0 From nobody Wed Sep 9 17:41:54 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 267B64E8DF7 for ; Mon, 31 Aug 2026 14:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186783; cv=none; b=tPVLYv9hHDfrgPZ6wErIotJ8f4cgOdXi3i0imoDWstwL4qkyMr7ujbDsLMv3t4sXknzPjZhFZFCOXUaKC9wz2KWq2xWTGlGkPUnC8HKUXBK8Fd4U7i+H/Rmo5jedQ+BDXokIypK2ic1W4+SzQJQOUOwDyoKhkZ0aimV6pmQRJds= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186783; c=relaxed/simple; bh=JMCAe2D62F+WBYgEqiYoMmr4gCc1PIsBFv3J9qtq950=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dsG9eusrrjbFHPESmI7sqFEoDCN1LNfVjT6N/xyyjRj+NGLvbJzp6EIBoaX+VfHhp5SFfRmxbRcIxq28+Lg9Noi6XsNEVVNm8C7E3laxO6lZ4ttXx6MLU+ZNjYfYqQmVlAVrqxPssTCSu/Di78W7baIWBzcCCQbSBFdkH/NDuf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SVGTa49Z; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SVGTa49Z" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so41658525e9.1 for ; Mon, 31 Aug 2026 07:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788186780; x=1788791580; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=2jL+a4C7D0aKEgmVaWlVk7rTqIUCFUo6pEcsZDOtEZU=; b=SVGTa49ZuSxEQjYrS0LRKHEiwXcy2gTQagSeV15i65Ujt1HIlTMauVRF8WJHbdJkuj VpseAtMHo1tXLacBd+A0QjpMjufN4LzN2xEdYw2qPhuDYxyHeoTttyHckfVxpm0MK1OL rDv+DArEVxykHqBwIyli7BL52jJqma6JgVu/eWCLxpFcrtTgOXuyepV/EWi5Y/C6aL7Z 2KpL50jSPgGqEEFk6FH0SxpBAr+XWfQdugeFgOWCtKdsnryj7CupdhuGgnLElZZkOfRW u9eFda2YqFCoQrLPGzCL7+sNiZFWdtqL81GFonZC7ho2fVh0IJ9CHUouaRMnuR8BQSh2 MBcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788186780; x=1788791580; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=2jL+a4C7D0aKEgmVaWlVk7rTqIUCFUo6pEcsZDOtEZU=; b=gueeSS2PZVj19DXFDzGQ3j91TrvYc/K0t5+Zr5hVdgnr7alxPk4SWDdE2Bop7eCgya 2+x9Z5GNiQHaeHkWmC4LHF+4pyHAGErJacnnOmqnIKd0KeiSweBh89emspqSUWzvlAO7 lhoSZLcoHYG1EWWGBrd3hqualRzLpalsYFvf3Ssh6WYVaLgeRwJhP95N8GsYg4UL1Wyj ttcN4qTKzj2+g+LuzVP5jjHbp2XE9AdEkjUlhQ0EGK56N/wqkuePK84ZA0zuvUKnljBh TluWmoWRd1/eKaeXD3oq42EvfmELbZFWDljeEz29W0xHuhNkpkS3bWTGKnzUpW06CF2z lZwg== X-Forwarded-Encrypted: i=1; AHgh+Rr0XX87gegJxJ3a1ehDzvMQpJuNRNXUPQuyvWZEskiWtxyDGmmwifzfc+Es64Yo27IqAvHwKUStJloBqL4=@vger.kernel.org X-Gm-Message-State: AFuF++kD+aeV9ceiZVHDmoBmKUhlNtA0pmXs2TXbNWXxj7N1e4DvEhxV FRhXUgU1Z+1KLW/5Rl4+bxlJMFqxINPRLx+dZ1Gh4hbfn6pj3kSu3AeZ X-Gm-Gg: AR+sD11qFXBkRvzbDoO9BAVc1klOnZtM8Ekpl16R5C76ViV6V4Is/EiFT1/d7Vd9mh5 5vLXXrwxH9UN+yWncqdCFy+F78FRbGe2A+seGaxlMVGV8ISybvcPj3owBPHgGYxHAiRURi9sT4Z 2SPrOVG3xNoVQCgBflsHy4zdLgJcjy+AYngYLpA6y0fH93vEi/rd61z9ZTGEavS4kx37AV2DUzy VSh6iO0otNvcaK8Irgeih1oqgq0XpGkYllBY4GToRFVz+yUd9+lWmi9MSoKEZChu4/onUHkBXmG Ud46zgFKnQvrzAZnqf0d9sZaACnR+OxMm9667np1y7/miFXxwT06fWh0YWJyPPy5fpgzcSkWVfC R/AzPkQo81g+TWtovHKvrRPN/NwKqpHKJy7L7VV3J0BwqIYwgzUd5XayOo4hGlBCgtcGPWhl3n1 MySTND/HMHP6Tf7xGqNhgOraneVHPC7IVVng3QjqLC87hE29l/DYItECizYE2VwInW9k8sZBh0u HmypGwa2NxosV9sNg1SYmA4 X-Received: by 2002:a05:600c:8107:b0:49c:d26a:cf70 with SMTP id 5b1f17b1804b1-49cd26ad005mr206906115e9.15.1788186780413; Mon, 31 Aug 2026 07:33:00 -0700 (PDT) Received: from unix.. (244.red-81-44-253.staticip.rima-tde.net. [81.44.253.244]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm344786125e9.8.2026.08.31.07.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 07:32:59 -0700 (PDT) From: =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= To: Jonathan Corbet , Bartosz Golaszewski Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?UTF-8?q?Iv=C3=A1n=20Ezequiel=20Rodriguez?= Subject: [PATCH 7/7] gpio: cdev: return EOPNOTSUPP when HTE is unavailable Date: Mon, 31 Aug 2026 11:31:25 -0300 Message-ID: <20260831143125.151360-8-ivanrwcm25@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260831143125.151360-1-ivanrwcm25@gmail.com> References: <20260831143125.151360-1-ivanrwcm25@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable GPIO v2 documentation promises -EOPNOTSUPP when GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE is requested without HTE hardware; map -ENODEV from hte_ts_get() in the HTE-only edge setup path. Signed-off-by: Iv=C3=A1n Ezequiel Rodriguez --- drivers/gpio/gpiolib-cdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index 9f3b628d5793..6dc01f7ea838 100644 --- a/drivers/gpio/gpiolib-cdev.c +++ b/drivers/gpio/gpiolib-cdev.c @@ -715,6 +715,8 @@ static int hte_edge_setup(struct line *line, u64 eflags) line->desc); =20 ret =3D hte_ts_get(NULL, hdesc, 0); + if (ret =3D=3D -ENODEV) + return -EOPNOTSUPP; if (ret) return ret; =20 --=20 2.43.0