From patchwork Mon Aug 31 14:31:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=FWWzjw5z; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=linux-gpio+bounces-42500-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYb5s4fG7z1xwZ for ; Tue, 01 Sep 2026 03:07:45 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id B9E896454E3 for ; Mon, 31 Aug 2026 16:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D229E4A2068; Mon, 31 Aug 2026 14:31:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FWWzjw5z" X-Original-To: linux-gpio@vger.kernel.org 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 2DA2B4A2047 for ; Mon, 31 Aug 2026 14:31:54 +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=1788186715; cv=none; b=Jeon9kUZEndJmzd5zp0TQSeVw8DpC13AP8pWLbTYr14cK/UgrpIEdEUHTCEKx64M/SNz0oWqJjlolnwAZzcS8znFITcAeRLPai+4V47gJ1rgQjeuzVQR8Qu90Sj0Pt3gc/T+3LcwfdvztW7nR3fc1Zq4jMDfu6IWa+A8Cdd9JKE= 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.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 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-49cdc81f40eso1201955e9.2 for ; Mon, 31 Aug 2026 07:31:54 -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=Gnz/DoX0thlMoS6tLoqJv7zsbuWGpUcMmoWJoMYm1IcfYztG1vkv35gaeTLgbTWvtZ icmDPYYD0Qkhhof3FybcR3badxDF+lymvXfc+O0xXAB2XDSjtHFdKUjqWoD3SP7/rs0G 4EzGgsmDSDiaO9N3k4WAjuHIUK5ymUvxv5D/nhN7tDnAFjB2qdzYskk+oy6jJqumHM9J GKqEDERn/jEF1K0r3ry9xnpA0Nnp0JFPrghVMY0xe7iKGyqrNbcthrATIeY+cG9UrSBN VSeKmwwhQR5CmppY50X6NDF4+4dD9jwO9f+5gB+/xH2PAPfQpDUrTCjmtXd5eYYOoMGX cumw== X-Forwarded-Encrypted: i=1; AHgh+RrRZFCY6ZLbKuY8qDNW/ws+/5tz205Fl5avjTL2mIXD7jZvZpla3YSc4WzhxSJpGoTn/5vElagIEloL@vger.kernel.org X-Gm-Message-State: AFuF++lq1T6HGi+J15gcekHR3ofbxSTGieVEgvaCpZAlQfmJyWYOx97E 1GxulkfAH+4XKoCyqGoY2+yxQTLl/Z4KXkd9suqVCBNk7fuYkYVYDJn7/hBs4Ju1WuI= X-Gm-Gg: AR+sD13IeDOed8PCbjqwmhDctCSozq0vB5ZfpCveSLL+Ws3n/jyHcwlZV4xIXAiZTU+ csQIB05qjfdZ80XPDDaO2YyLuYFSUOKnMjVC8vUHjf/Erxt/s3UN8g1YziynDAI/0f63r38fF3G +hRrW534hQJA76A2SZZBHHDAPeCrtF5JMyg5uCwnnaGZaTc7ib16UgpKY5wroY6x2IfPp1gS3Ys CZGblObqKYE1QzMgqPGenozLbHsOM7YOPtHExj39S/Dk9Xug3mg5I52PwtkUsUn48rRni23MEeS YpK/G/8sbAVDnzbkhE7JSZN9bRHOB2MOk9t/wO859tY80aBSO0CLvPImRBc+NCd65khr+SkbiLm n7i9E2RYMa91hP1+GWrnWxwOsODlwr/waV9uV5VFSH7gMDPsIcj3Vnfdd2arbKKlzhLEIxvMiUy vmoAR9BCA7gb4O+GB0iHn/iDxO5jEHpLZQ2kKG/xOfnrCBkv2+39LMEMitCMNfAt7HM/ZkTmGjk l68vKQZpBAxW2rX20THGQYW 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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/userspace-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. For each entry in ``waiters`` array, the current value at ``uaddr`` is compared to ``val``. If it's different, the syscall undo all the work done so far and -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: -- 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 futex. From patchwork Mon Aug 31 14:31:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295380 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=bmC4Jg8E; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org; envelope-from=linux-gpio+bounces-42501-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [IPv6:2600:3c0a:e001:db::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYfPk367pz1xwZ for ; Tue, 01 Sep 2026 05:36:42 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id CB1F7E1B54 for ; Mon, 31 Aug 2026 16:32:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E11E44E56D6; Mon, 31 Aug 2026 14:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bmC4Jg8E" X-Original-To: linux-gpio@vger.kernel.org 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 3FA6B4E56C8 for ; Mon, 31 Aug 2026 14:32:04 +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=1788186725; cv=none; b=EeQGCIxUtM1JRepRr0WZ4iU5dkA+lhtvmLsu8yPn8uzeTrheF4ryxpBv3sWn1hLlP5aKdCx/UqboSc1+UiwiXioZKHBDj4jplWHPQVaRhRVoYIZ64bMe2NNbsskA6rIwgOrt4v+dI0b6TpBc5QQe2XrAs9VIgqb5NPrOlP3vARE= 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.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 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-49b8e527d63so34706065e9.2 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=iu0fIfdCNPKscsPz6thGZiglZw/bC2q9yAVXEf8PdlagpO25dw4LLmgfOrLQWPWi2N AjQ+TEgOPMILGKR9DDW3Jim+bsCcjI/UBSUnmM1smNLj2FCiQ4j7u2gSRoi24EeXvD7L bumTA6qe42d4EN9wFtbQnm4YwFl/lHPV7led3ij2C7l5rdemyy7tbPzRuCAzL0KiFG3s hX45WjbrI8woZh48ndybmIBaYgAoNXoL3uWAGiZZgRMRr9n1WTHKObeTiXfTLAXx9MGs M0jf1skTbOa/KUio8AV0LwasChiSCjePEliOMpqK84MaSDAukKIWMoq2pLQEP9pvrSvJ YaAg== X-Forwarded-Encrypted: i=1; AHgh+Rp0vUvyqg9T51Q9Cc2twD3W/mw9o00spFFX4HXIDOghfpMJEBcj0HkWwkprKwuf3BrCC4rK221h828c@vger.kernel.org X-Gm-Message-State: AFuF++lgjw54IjLp2Y5WgV2DZHOUvrqk4Z3TuJ7rmCkyj0m4kAgsSeS3 msaL4A91xinnywnors/OG3ZbNvBuGfKG+LJV5AdjWYrUhbfN/Xs/SgPL X-Gm-Gg: AR+sD11hN12Wi1y/7ahhsftiPN7qp94Os2UCieMYJvV94Nd7JMRRbIY4AytEUrDdeB2 L1of4zwv89sFso71h2yTdXsI0GlnQ+PzDLTzp7tLAR2YimLzmXGCdjQGnghQXcDDd0Ebn09KFGO h4GOy7XxeOP3NyT/JixvHwLfZBGovUESJiAirg4yfHLEkfnh/lONgshkzg62BOua8G50NUDFc12 7EnvV0QXq7PPMHgaiR3c5plqhxzj2ST67xjCiVuphb8XHxdjBxte5ARqOimJO6CO8mNZ7zYp+Tu +68eA63Mxd7cn/z0cf2wUB5qVGo36fP38AKtPqgOlrPtGkQwZCBVCwLm02g0bdpzLX/v8QVLHDn 7u4rv3Rl7m6A46KeRi3jol8ucON4/DM3juNVl8w6UJ5ixNyLTLKhJYtRAkC8PtCdLkSnJ1vvBer R04rW/c1F+T6Rtp+2PJdR4kYhXyhDWIjb93iyA/zr5a07ayzpD9Ue8qsCfn+RXdG8YeN6DDW4fT ALljsp3mWfcOF86xMCASCKD 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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 = 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 fields. * * .. kernel-doc:: include/uapi/linux/landlock.h * :identifiers: landlock_create_ruleset_flags From patchwork Mon Aug 31 14:31:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295336 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=VuFS7zui; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org; envelope-from=linux-gpio+bounces-42502-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sin.lore.kernel.org (sin.lore.kernel.org [IPv6:2600:3c15:e001:75::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYcmW649Hz1xwZ for ; Tue, 01 Sep 2026 04:22:51 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 7BEFE2E08A for ; Mon, 31 Aug 2026 16:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64A584E66A6; Mon, 31 Aug 2026 14:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VuFS7zui" X-Original-To: linux-gpio@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 B6ADD4E56FB for ; Mon, 31 Aug 2026 14:32:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186738; cv=none; b=l8jK/LNscxfGtD3t2a7HCjzxzpW9/Lp2KC3s57957KHuUy6/Nb47LuxbpgSzENe8N9b91rceteAEDvwHb9aTtWx/JDgMJ+yEkSwd7fgE6IdlwdaV0kxNf/tR5k0Rrqh/j9dBJGM449aWBQ0ywB3rvkTwT5x1qT2W09N7Vi/ry+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186738; c=relaxed/simple; bh=OzOvqUUyFScK+c4Qm0JM+we4nmEqm3utvu0fjkr07bQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OfAr8qbr0+eBOXJmYB4l9MyqLn6rJNKerCvC1TxaOYgOIkLjLRrVXBt+HBsBfZORpOB3GjIjXKhzBT23i+9S6214C56lCwT+JqxAkFY+7GzMUsiFDlknenbsH//1LtltA6reNcciIeHiU/5GV90Fvosqyx7OFXPpIZbRQI40Z2o= 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.42 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 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-49b0d8bc2aaso35601035e9.0 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=Bkz+NJjjxE4stawp0pi5fpnng+125zAbAkWWuy7DXOKgxzyyDCqltSvBuaIpvq1x1f bHi3iIgfh1b5uvpmrBh7tSKb4m68CCe4rckY/PUyH56XsGyZKjZ3ZnY1mmX7CRKV8OoU FGly9R7HELaNlGTqqe2IRC8cOHGGQCiZM3vOdqiv1z5MQbDRWpWNp58vVExBZ0DQKz4p tuFNwPiDpQX2PVchk41F+I3K+0+ZdpAy/wDIfO1qjO3IP/dr2xcb0pc954vX5AoXwLjC EtFmd8yPJ1QyqVa7sZk6ZCxJEDhSMLa2HRLftcUGI+g5J0kGpKPcY7YuhNykaxLx1c6N ZnBQ== X-Forwarded-Encrypted: i=1; AHgh+RrVOeMHR5HhZOOuV6D6qJKFG9fnosN/rH84cCirWSrtFlS1u3lIl1x8o64v4Xp6US2wSPUXw3TczD7n@vger.kernel.org X-Gm-Message-State: AFuF++mcqqwwNapVuF14c0NMnkRGAenDUXaX8TFugiMN0/ya0cP8gurm r5pZKXiqBqkwvYpihYVMyJj4qBNJjexe8aEnjf7gPQy3xJZKYwF/Fd0l X-Gm-Gg: AR+sD13KHKzP8pclgjdaBmqq+7tpwtidEeghdNSPcPjS0GK6z+rBG0K/J7sZ93xAApF bKdawERUgi/3rMJQDRmQYlT7pgx8n8rgrQeKvH9Dp9ozgs1hDM2hZuMafBqrJs/3V7M+++d6ycQ +ikug1iLI7zjqb0LYvssFlto3kOi9adDQ1KvPKcZmLH1e6CXZQ6/RDsKh+C6WzaYHsHUYC5yRN3 BEO1QGm68erADQqLdGL/SrrdDop/9xevbl95ogiLH+0IPM5QRlpDIYLOdQ1jTzVxvgs0fp4SeyG ZWvi1H7EnvG/V3sJ5Fx4uh8Uqcmsqf9tmtm9PU4DQy5yJslSumItIinbRRZuUjafId7jC/rGop4 IHjAjqTowkdHmx9NdiT3hO+0F0ArG/LKbjYLsK9lPjhI5Vt1Bt6prQ0U+2jLGcgZrJCiwqw9Tk5 MRye0g1GhwQ1V17eSZCkASPdxG6SfX6Ok/hJpFXOM16OFKGgZ0pzosRVv3p7v3jz4M2GrEzvhxD ck2LlTr0igZyURTJg3iDUne 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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]; From patchwork Mon Aug 31 14:31:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295337 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=Nkv0toe2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=linux-gpio+bounces-42503-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYcmq2Cmhz1xwZ for ; Tue, 01 Sep 2026 04:23:07 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 670561A2A22 for ; Mon, 31 Aug 2026 16:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB5034E66D4; Mon, 31 Aug 2026 14:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nkv0toe2" X-Original-To: linux-gpio@vger.kernel.org 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 289554E66CD for ; Mon, 31 Aug 2026 14:32:27 +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=1788186748; cv=none; b=HPMsOrRCcQDmr9iSTwIUV53LZKr2CcMfNaD2MFgyOzT+1LzwI8gu9+HSKz38oa36Mga4j9zPyQ+XEX7dsTMeIAU+5NQk9qVQLeA/IpiRhY7+mqmjmVli1GAJO2icFDW0t8SrC6AhJBDDMLkINwyKFG1Ur3AvodSN4KX/M2NOmQM= 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.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 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4995b0343c1so35744495e9.3 for ; Mon, 31 Aug 2026 07:32:27 -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=dn+B4cdHiYTvi/PuaaOdMRcCHPXYFsstWv58VUjQN4TlBRGVc4aWwLh1hMd7l0zNoL k3PHH8TbWrEugY+0WThxoLmA4TAY54YSv0Vk6f8mQCpm+t7YimackkgouBRCU3pnPuIN iqqQAEuaUvREYHlT6rtc7BeOyJDEff1mkdSSaQnABzUdnXuqmsSbEBpbKCHBQ75YXWi4 Fw5d7PnWaZX0z0deK3sfcDWyFJYy5TOp8EqQygSRTR8E8N6/CSTBF2QXQoTb8Ra+MO7K Xe6rT3AnUYIbZro07vAUhjp7UBp4rzFDUcpUD2kXRnhjjObyFUaV7glH3yEap7bA07zU I+Xw== X-Forwarded-Encrypted: i=1; AHgh+RrtoQZq+EWODtsSzj4ByHI3cxmA9uZ3hP/K/WY/Hbxm1Im+9ai96pXe3utN9rUVItHdwzIKAKQwi4BI@vger.kernel.org X-Gm-Message-State: AFuF++lr8wbBIdM7mTrVt4lF/7Z0VYjclZW9ENLNhiCk6M6riNQZJp0W x25F8pAsDiv7pTP7HctBWtE+kEyYMWhahs3icAJVDd3fDb5u0vv7VdEP X-Gm-Gg: AR+sD137K68URqYT9T15SMscUgk0Xc9P8BR0nA9XHBi77q6D1GNCp9Ah1BqRYA0RaGm 83RKYUxHjIlzS2cmIwBAe/rdSEmyiWLSXQ3xtjb4xq2MIUBXvoFP/NpR/hTS8WIxrOn5tl/KupS GND26d3iHjEFvJeklu2dPW6JfzBQjdYrJg9uiBy0ieqV1G+wJoIq0kMq4goC/eRaRmR54+BfW1G TL1VC9jcBykLrEkPMY+VNYVvTQOG6t0JUYoHSZxIH2UzimpFN8DCHxXOhXNy5d1guQl3lM4W5mo uAMFmL+cQYXY1tqCu1noDlqH5sGbtNBFX48T5vrHb7qs1MLsik0zyd+05QmXYJ2taQ/8ZZwK+fm kcowkNFqYlOCwWx+He0el1900qdYKTvDQnxo6J3nXITgmgC9/RCgXtRkEZp2aPlaTFSV6XGV7pa aXwzNe37196Pj6/lX7ljpCtL4mlRUCGOsliWR877FuiTZu3mFe918pui/OCj1Iz47DR6HDZBQcW s6FFURKmxMEPSTaOuUjgFfZ 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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``. Naming Convention ================= From patchwork Mon Aug 31 14:31:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295397 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=Jq/IZcF3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=linux-gpio+bounces-42504-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYfqp3nfzz1xvq for ; Tue, 01 Sep 2026 05:55:50 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 2160FA8808 for ; Mon, 31 Aug 2026 16:32:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19D8E4A2057; Mon, 31 Aug 2026 14:32:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jq/IZcF3" X-Original-To: linux-gpio@vger.kernel.org Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 5EECB4A1DEB for ; Mon, 31 Aug 2026 14:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186759; cv=none; b=Vtlp7eWgnNVp0yrnLXReKG2tSQzA+yq65FmnEes80Rhcall8KvhlwqErkS65N71Rka67ejkdlEyqg2xOsKc8N27e6Tx9She94I6pYBKrOpLIJzss/SwPGNDZtA88v/mp2sO0+kCNxG1jmncAvFW+y7cgurYSrfT66huCkeixTAM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186759; 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=cIQTcojb/ztfi4qKuupcCElvrUAGoJRdVWKGLt/dI6h7IJAzhclrc+rJkiMn6U1bJFqXaGhpPwgCri2RCTRmytJtJhPU2OmykuVqI8659/6vud/4g4QMc4+wnQ6rWhfSEP7sv/BeniIIFddN0rNf3tmtfYO4IoOBFin1L9EWCT8= 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.41 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 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-49954b88fffso24610755e9.0 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=M0bzLYOktF79LQJ+WV1fn0KhF2zw23QmgLpGf1ZITGRRSMD7JxEMMQLqbeZ2iNjiym oT2mwjyFSFZposIygYjaMoMgyNLgG4+WeG02I4JC/nUBo77D7v79Fn4D0gBja1a36yLI p6TYjl4rGJ4ItFhIgIis8FGDQAdOQ7X30hbUe5Y8ivsEBYtCtlyvCrkJUWqZ5j69gP9+ GarAYv/qMajM7534ozGoFS0jPiXZXZceqoQy9Y+QmY7n+c4Hmk9kHjInpQJge2g40NW4 NnWzDD1qiRNpFUxx3mSK0k0L1e7F1YlJvW+7qSt7cnHEGhmLeKtUgN9ugewRKaM6q6Kg a9JQ== X-Forwarded-Encrypted: i=1; AHgh+RqMrFhhUMVdqVyqtoK0/F1IrXAVVgZ8iKRT3FEEPW5VVtILehP0g/r5xixTXdRYNmlIpPGIdrghwWmH@vger.kernel.org X-Gm-Message-State: AFuF++m7HQZbesRNL+Ra7rka//iaicX+nQ+Kmn2kWeWGP6caKapFHwJn jFVS1/oYs7jDZAtRh//zxQ29rQNn3aBNdWwtLm2CaTmN9w+4bKJsdITp3Em0JRrwu5o= X-Gm-Gg: AR+sD11F8tfyJMJRo8zemSAebZXIynHgoAwKGAiAXuWNn6RVWlB94ekxR77Eo4JZIwp ws8KkJMHPzsbdrJl5MD1d7AO+XaApdjoxHHjikK9K9bbzHQSumWwQw1NOCgziAacbP1+Q0nKmOt 069YcsIJufbQZqjAeEkFXLE3onBS7lz08/lmuMXXR2qJ96h0h9vcOAfQLhzRFmrL5pa8197P67i jVyB1mflAmyMQS9LQO91Q9M3vqbDZr4uq6v0LirAW2TTW/6BN/EAeafGY2XK6BYBdHNqHP1uWOr s7//ReeUet+GGBu8llU+oBE2qucjzUemqEmqTVAbBv23kVoOHYePRuvVWsU4yrqvz+z3SvBJw3G w0KrMGo44DUSiGINSzRXsdxBsAN95lFtrXVG9jm1yMnQxd04HoVAw+7BkDGIOEL8qhRM0N7KO2S K5PiMLbQJJYDlG4ZJtIUnTfLDAkIL2FYdif9fpApLF5Lvx4uF0c9G/7CHIglr5SRDOujUGQYmPB lBgqVVdL4V6y7W1AqKUdrdW 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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/userspace-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. -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. Create/Destroy VDUSE devices ---------------------------- @@ -135,7 +134,8 @@ module as follows: return 0; } -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: - 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 VDUSE framework: IOVA range, userspace should firstly remove the old mapping, then setup the new mapping via the VDUSE_IOTLB_GET_FD ioctl. +- 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 ready 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, userspace is able to start the dataplane processing as follows: @@ -227,7 +236,7 @@ able to start the dataplane processing as follows: described by the descriptors in the descriptor table should be also mapped into userspace via the VDUSE_IOTLB_GET_FD ioctl before accessing. -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. 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). -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. Similarly, you can use ioctl(VDUSE_IOTLB_GET_FD2) to obtain the file descriptor describing an IOVA region of a specific ASID. Example usage: From patchwork Mon Aug 31 14:31:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295309 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=MJnW45oV; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org; envelope-from=linux-gpio+bounces-42505-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sto.lore.kernel.org (sto.lore.kernel.org [IPv6:2600:3c09:e001:a7::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYZgn4h0Rz1xyG for ; Tue, 01 Sep 2026 02:48:37 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id 48EE0647090 for ; Mon, 31 Aug 2026 16:33:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 420924E8DED; Mon, 31 Aug 2026 14:32:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MJnW45oV" X-Original-To: linux-gpio@vger.kernel.org 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 8AD774E80B9 for ; Mon, 31 Aug 2026 14:32:49 +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=1788186771; cv=none; b=QzU2xzFEc3TCklSLlSyAb47rdVU9pHGs5fXmlYjzegOKNJUWVV4fs+MjbBqfU3/LyXuAKO4rBSmqbsTWNQ8/vrzQPJ7VaQA+OwlV3ie+9WAlhYV9C2yRnWeZVX6NY0PM3XOCvS2Y1ZAfN0KWM3QMc6txE32g7OWuvp5GXKsY5s0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186771; c=relaxed/simple; bh=QjMSkXe0n6TBETzI3Ha2tiZ8wGiaGM9B4fBWkY0BniE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tlafVssOoLyrFJ8X/VcU03u7L+kDYNKWqs0W3y+invv+vieJhcS/l3kkwGvFYuROHWPdkruhPKPBYFRcCAJOysk6hiJEkviOG2yW+nv0peW9oPIXob6vG7Ukp5XkEDxkZZdfS5DZRWKvX+oHmiPVLpg38Zuv1b4kSkEZCyG6kT0= 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.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 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4956869750eso23182485e9.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=M+XivyJ+njJqnNLLjxp6cWakyVfMCDJ4p9bfz8vVPpHy8GFaihOYAdgiYNfoXp2p+q k7A1r1q77QMmEK5mvQZevQsupTx0YGAuJJKu0hisawQuHGdJDjmmol+0B1ySsRc3fkeU uWeF5QXvMsXycXel8EU7O6A379s5SR0DzmxwZe+yvlRFnPdHcfA6Q+xZSibJxZEUreuD sWTowmN3AfqQO93pBII2icfbL9BJ1Ypn4VHD3w4w1YnLLc/OKIFx9glYjrrm2L52y63p YPC0ffUvmLm1jZT3yAAl3K6RSZutpUcK2xPFwwOvWFF7LPWcKS67rRqLojfD2GDYFosu XafA== X-Forwarded-Encrypted: i=1; AHgh+RqbBiDw62/dcR08Ze/OqTVm3y0IuHIli9HP3k4xxblp1YjP4cDNBOTSEF1TtbVHrkB77ONfxpKB6QTO@vger.kernel.org X-Gm-Message-State: AFuF++lBqnbWd++0Qieut7gkAYe/8DWfk4Xgf6ugtRYTql7DdJSnfP6b qSphw4Q0NZx9K9DsjPzYmggq80O1r6/51nqiT2/torfM2vA3YPiPSZqz X-Gm-Gg: AR+sD113j0D6xsWNRjGHLv6SyTLtJ3udgcMPHaQm9Z22oOubSoBF93BZQ4qsaAxNQP1 JglafPJwwB1uhByj+abP3ap4ay+IDmxsu4EvDs1Vj5iFN2Ycp/yR5ZPE+EK5yuZ2qduH/RJDHgv KR111dauRPKt2gyer+Gr/szH7Rm2D3TvjiobdjIOQPREgjNR/8juXJ8V0sfLVNQptDEDwa38g4V lkYALsGm9QxtV8QRE4aOAUr6RYCV72O9EZcf61s4ttKrlfsvM9bP4tMHnbl2N2XMFJovMfPlegt TyUM6/8oNHn1v1Czgu/mzRxnfgRAVNyqrRrCZgCxmC1Ng29BbbMPU++MHhnrnZxfXR+Ko43uw/7 +ruOtKkdFp0sam8VYu4NzIG44HejBjMEt39A99y45iaHzVgUsjXuCcu7pXoXgUUea5XZnYR9s9W uBtMkIo3rbPihKieuj052kbGAsCqhWiJue5Y4eWrroNiZiu7ptBi92OipqOP6kY8VpsVKV3Qz4x tzvWRgpta2HNi6PLUSdxnj8 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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/Documentation/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 conflict! '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 conflict! +'N' 84-8F uapi/linux/ntsync.h NT synchronization primitives 'O' 00-06 mtd/ubi-user.h UBI 'P' all linux/soundcard.h conflict! From patchwork Mon Aug 31 14:31:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= X-Patchwork-Id: 2295372 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=SVGTa49Z; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org; envelope-from=linux-gpio+bounces-42506-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sin.lore.kernel.org (sin.lore.kernel.org [IPv6:2600:3c15:e001:75::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hYf1f1hNSz1xyG for ; Tue, 01 Sep 2026 05:19:18 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 2FCDE33FA2 for ; Mon, 31 Aug 2026 16:33:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D93C74E8E19; Mon, 31 Aug 2026 14:33:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SVGTa49Z" X-Original-To: linux-gpio@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 47E9A4E8E03 for ; Mon, 31 Aug 2026 14:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788186783; cv=none; b=GEvLDzCN/oi/BJ8L71ODNTtzFrivZgeF5pr9yCDE6IEYv+dByGHn98x3PZeiA9Nu+Ew+JzcANlHCavbCIOJ8Z93iKZa6FtEC9WQcDqen5ZbPkv5J974EOjGluEisZ0XzFcLGkqxyZAEj4DXZeYn7ZJLnmpOCoS/wO/0Iv3zVVGs= 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.42 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 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-49b0d78a801so27640855e9.2 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=XnfTmizR9j57kdfwRSSKfsKdBsK5XEVppnfYFfOoSuRMSUQisqpqwOjPhf7fDMciFv IqevBnHSRnIZmydci7a9Gv0bCWY2vRFyyLoraZBANfXC/YXnSvGQrvVJ168IvqIt0tKy uZicvG5QO7JWnCt5z71dYwO6k/srm5D7fRlbI9yRe1XZITP8BV4sEAcE168iICwsfX/1 +OgANnjGIAC8pr4DTAPxp74r/tFCFn44PaYoUi5RqC0EoPa2b9+lEPdF0V+b4fu5uCoj uPPV2nc4csO7J2BDC5zFy+W1OYgG1/ND/ilD4f2o9ALb7shx/m9bjQzHBl0UCR05034z U+og== X-Forwarded-Encrypted: i=1; AHgh+Rr6BVgkZPiqloAH/bmNsdkZvqAcjDpXel4eGMjpNGbJnLl/yW/ehweykhwgq+g62ndmx8z4s2j9g1l9@vger.kernel.org X-Gm-Message-State: AFuF++m2b+Am7kZOoB/47j71h7Yj+KNSaBuffj8TAeQjf9zwmFiW07pX yxwa8WYHmBfaELTQjva9PmfQdDNlJcLspP7zna9os7hgu4w7peD1+HTQ X-Gm-Gg: AR+sD12ARxGN6AYx8+kWpkAGyFuSuE/x3zgVC+vTkaVkqhsJBSVfIE+MFxeMIsxbMZi gKMH9FTGe2wufkxhE5gNIlNO2IWbMPSnr0te1b6hZBIPZTP6jQXQEZfa4+eAXBZyHZ1tReF8U6p LkFLSk5XS2eLrS2GAhHV+g5vyp88bUSouifU3H+6FAOB0xkhDzx8Vh0EtAFn+rZxA0XRm2d2+FO tzs23PMAxw4wbPFxFVgB0dPQdK8h/rGeKOMv9C9k05B3NXSIhEjwFyXtJUu9xyi3Rdr4QYM5IuJ 3d7E1kuqiERYDWVqEvIYVYQUurcguV8DAF/R+bN7TXN9uZrokYcrB8IRUdxADQfc/EEegYk7odV CjGj3bTJInmd5Tr/1IpevaVft5Y6FPlL2PDtLX2TCOrL6FrZhtuuRgYLJpftuD2Ie1fehK3PF8w 80t3FxoPmBXW3JJxmonRLj0fPlTrVgSXVjrItD/bKu53vVikMNeoj9w/+abbDc7VEhcL5+K+DrH RSlTXENcgzv7Y/D81Ck3TjX 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_Ezequiel_Rodriguez?= 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_Sala=C3=BCn?= , Jason Wang , Sumit Semwal , =?utf-8?q?Iv=C3=A1n_Ezequiel_Rodriguez?= 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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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án 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); ret = hte_ts_get(NULL, hdesc, 0); + if (ret == -ENODEV) + return -EOPNOTSUPP; if (ret) return ret;