82f1-4f80-ac85-5cdc32b7218f=3Anewsletter=3A549ddbac-2a74-?= =?us-ascii?Q?4e4e-b3da-74b447b3687e=3A7caa153a4e7ec8c?= List-Unsubscribe: =?us-ascii?Q?=3Cmailto=3A549ddbac-2a74-4e4e-b3da-74b447b3687e+b10cc825-51ef-4ac?= =?us-ascii?Q?2-a631-e0fa87a3c03b+0c342f32-82f1-4f80-?= =?us-ascii?Q?ac85-5cdc32b7218f=40unsub=2Ebeehiiv=2Ecom=3E=2C?= =?us-ascii?Q?_=3Chttps=3A=2F=2Fvicemagazine=2Ebeehiiv=2Ecom=2Funsubscribe=2FeyJ0eXAiOiJKV1Qi?= =?us-ascii?Q?LCJhbGciOiJIUzI1NiJ9=2EeyJzdWJzY3JpYmVyX2?= =?us-ascii?Q?lkIjoiYjEwY2M4MjUtNTFlZi00YWMyLWE2MzEtZ?= =?us-ascii?Q?TBmYTg3YTNjMDNiIiwicG9zdF9pZCI6IjBjMzQy?= =?us-ascii?Q?ZjMyLTgyZjEtNGY4MC1hYzg1LTVjZGMzMmI3MjE?= =?us-ascii?Q?4ZiIsImxhc3RfcmVzb3VyY2VfZ3VpZCI6IlBvc3?= =?us-ascii?Q?Q6MGMzNDJmMzItODJmMS00ZjgwLWFjODUtNWNkY?= =?us-ascii?Q?zMyYjcyMThmIn0=2EtDVZtefcY9osiVkx7NXDxiCG?= =?us-ascii?Q?cIX3cdNThGsfjsUo-0k=3E?= List-Unsubscribe-Post: List-Unsubscribe=One-Click sId: 549ddbac-2a74-4e4e-b3da-74b447b3687e x-beehiiv-ids: =?us-ascii?Q?{=22account=5Fname=22=3A=22https=3A=2F=2Fvicemagazine=2Ebeehiiv=2Ecom=2F=22=2C=22campaign=5F?= =?us-ascii?Q?id=22=3A=220c342f32-82f1-4f80-ac85-5cdc32b721?= =?us-ascii?Q?8f=22=2C=22category=22=3A=22newsletter=22=2C=22email=5Fgene?= =?us-ascii?Q?rated=5Fat=22=3A1772208125=2C=22user=5Fid=22=3A=22549ddba?= =?us-ascii?Q?c-2a74-4e4e-b3da-74b447b3687e=22}?= x-beehiiv-type: newsletter x-list-id: 549ddbac-2a74-4e4e-b3da-74b447b3687e x-list-owner: x-newsletter: https://vicemagazine.beehiiv.com/p/5-grams-a-day x-newsletter-id: https://vicemagazine.beehiiv.com/ x-newsletter-signup: https://vicemagazine.beehiiv.com/subscribe X-SG-EID: =?us-ascii?Q?u001=2E2cOfsjUAtKYODgwhyssu7jS4Fq8GaLZhTk9DiQX2d01Tig28QHQZtn=2FKT?= =?us-ascii?Q?upPaXnNlkKKxzv3Ipkd5fp4nhGxGTGCe3WpJhci?= =?us-ascii?Q?cBH+dY9aYAWU0Bc3yE387qWFAxuym4lI5b5V6uz?= =?us-ascii?Q?F1lgJQvcx1D=2F3Z4JPZaeKV1egieD83kkqOoGOeK?= =?us-ascii?Q?bP1bUTmPI4CATIzfvPodWE5IKV0nF=2F1z82M408v?= =?us-ascii?Q?zjIPv=2FM7ct=2FMF9X4Y2WIfXLm2ME6ZejVtfLkx+l?= =?us-ascii?Q?X3eK?= X-SG-ID: =?us-ascii?Q?u001=2ESdBcvi+Evd=2FbQef8eZF3BpTL9BgbK5wfSJMJGMsmprD1ZcmFObA4po1bG?= =?us-ascii?Q?aUE6gycuRLahvx4kprUwRdnwKBcRlj2B+zHTIhN?= =?us-ascii?Q?Jgd=2F7UOZDE+YEqeiyEl32aLh0WWbvzyT1IAuHmJ?= =?us-ascii?Q?sH59cHDgJLXKnfiXPRnlr0YuG8=2FTkq0SOnWI1kD?= =?us-ascii?Q?qc4+KspFkCAbcbbYxYM086SHA2LOydnGAJFh9Ny?= =?us-ascii?Q?twhxrPeqxXt+UpR3YE9qsznX1UnaCYq2PpbW8v6?= =?us-ascii?Q?ExNW89SzR5giVdQt5GNNX7qFMVPVQ8gxq5oIWoW?= =?us-ascii?Q?2NVTIfIPc7B4hZWfPN3Agsg+ZPAPOifqW3fsMU=2F?= =?us-ascii?Q?RHJ+Ckch8KnkyOpQJcQGOVhCj3=2FI2FgFQ=3D?= To: "pfeifferj@archlinux.ch" X-Entity-ID: u001.2o9xIxvd+H02yhKsMlxl3Q== X-DKIM: signer='mail.beehiiv.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://docs.mxroute.com/docs/expert-spam-filtering.html --- Content analysis details: (2.9 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vice.com] 0.0 URIBL_DBL_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to dbl.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: vice.com] 0.0 RCVD_IN_ZEN_BLOCKED_OPENDNS RBL: ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [149.72.190.201 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [149.72.190.201 listed in wl.mailspike.net] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [149.72.190.201 listed in list.dnswl.org] 0.0 URIBL_ZEN_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: vice.com] 1.5 HTML_MESSAGE BODY: HTML included in message 0.0 HTML_IMAGE_RATIO_04 BODY: HTML has a low ratio of text to image area -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML 1.5 PLING_QUERY Subject has exclamation mark and question mark 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders SpamTally: Final spam score: 29 --5ef4f226427f349ccd39cbf3b60d1f57105ecf052ce2cb26bb23f1023484 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 ---------- View image: (https://media.beehiiv.com/cdn-cgi/image/fit=3Dscale-down,forma= t=3Dauto,onerror=3Dredirect,quality=3D80/uploads/asset/file/d8e3c5de-8165-4= 78f-b1f3-9407f69e3c1d/vice-vice-baby.png?t=3D1729304915) Follow image link: (http://vice.com/en/) Caption:=20 ----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=3Dscale-= down,format=3Dauto,onerror=3Dredirect,quality=3D80/uploads/asset/file/21509= f0e-9976-4034-98f4-6fd898f6ec43/member.png?t=3D1738011356) Follow image link: (http://vice.com/en/) Caption:=20 ---------- View image: (https://media.beehiiv.com/cdn-cgi/image/fit=3Dscale-down,forma= t=3Dauto,onerror=3Dredirect,quality=3D80/uploads/asset/file/444391ec-5c2c-4= dc7-b65d-bcc9831d4e77/029.jpg?t=3D1772206654) Follow image link: (https://www.vice.com/en/article/united-nations-cocaine-= addict-un/) Caption:=20 -------------------- =E2=80=9CSicario-style=E2=80=9D=C2=A0executions. Picking up from heavily ar= med favela teenagers. Getting ambushed by police in a drugs raid at the wro= ng end of a three-day bender and watching them beat local dealers black and= blue before heading straight into work for your 9AM with the Ecuadorian go= vernment. This ex-United Nations worker saw a lot of things. He told VICE about all o= f it.=20 READ NOW (https://www.vice.com/en/article/united-nations-cocaine-addict-un/= ) -------------------- To get past the paywall, sign up for VICE membership. A Digital Only subscr= iption is $2 a month, while $70 a year gets you the full digital package pl= us 4 issues of VICE magazine delivered straight to your door. As a bonus, e= very kind of membership will nuke all the adverts on [VICE.com](https://VIC= E.com). ---------- =E2=80=94=E2=80=94=E2=80=94 You are reading a plain text version of this post. For the best experience,= copy and paste this link in your browser to view the post online: https://vicemagazine.beehiiv.com/p/5-grams-a-day --5ef4f226427f349ccd39cbf3b60d1f57105ecf052ce2cb26bb23f1023484 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Mime-Version: 1.0 5 Grams a Day?!<= body class=3D"a" style=3D"margin:0px auto;padding:0px;word-wrap:normal;word= -spacing:normal;background-color:#fafafa;">
An ex= -UN worker reveals his cocaine adventures  ‌ ‌ &= #8204; ‌ ‌ ‌ ‌ ‌= 0;‌ ‌ ‌ ‌ ‌ ‌&= #160;‌ ‌ ‌ ‌ ‌ ̴= 4; ‌ ‌ ‌ ‌ ‌ &#= 8204; ‌ ‌ ‌ ‌ ‌ = ;‌ ‌ ‌ ‌ ‌ ‌&#= 160;‌ ‌ ‌ ‌ ‌ ‌= ; ‌ ‌ ‌ ‌ ‌ = 204; ‌ ‌ ‌ ‌ ‌ = ‌ ‌ ‌ ‌ ‌ ‌= 60;‌ ‌ ‌ ‌ ‌ ‌=  ‌ ‌ ‌ ‌ ‌ R= 04; ‌ ‌ ‌ ‌ ‌ &= #8204; ‌ ‌ ‌ ‌ ‌= 0;‌ ‌ ‌ ‌ ‌ ‌&= #160;‌ ‌ ‌ ‌ ‌ ̴= 4; ‌ ‌ ‌ ‌ ‌ &#= 8204; ‌ ‌ ‌ ‌ ‌ = ;‌ ‌ ‌ ‌ ‌ ‌&#= 160;‌ ‌ ‌ ‌ ‌ ‌= ; ‌ ‌ ‌ ‌ ‌ = 204; ‌ ‌ ‌ ‌ ‌ = ‌ ‌ ‌ ‌ ‌ ‌= 60;‌ ‌ ‌ ‌ ‌ ‌=  ‌ ‌ ‌ ‌ ‌ R= 04; ‌ ‌ ‌ ‌ ‌ &= #8204; ‌ ‌ ‌ ‌ ‌= 0;‌ ‌ ‌ ‌ ‌ ‌&= #160;‌ ‌ ‌ ‌ ‌ ̴= 4; ‌ ‌ ‌ ‌ ‌ &#= 8204; ‌ ‌ ‌ ‌ ‌ = ;‌ ‌ ‌ ‌ ‌ ‌&#= 160;‌ ‌ ‌ ‌ ‌ ‌= ; ‌ ‌ ‌ ‌ ‌ = 204; ‌
3D""=
 =
3D""
&n= bsp;
3D""
3D""
<= tr>
  <= tr>

=E2=80= =9CSicario-style=E2=80=9D=C2=A0executions. Picking up from heavily armed fa= vela teenagers. Getting ambushed by police in a drugs raid at the wrong end= of a three-day bender and watching them beat local dealers black and blue = before heading straight into work for your 9AM with the Ecuadorian governme= nt.

This ex-United Nations worker saw a lot of things. He told VICE= about all of it.

READ NOW
 
 
 

To = get past the paywall, sign up for VICE membership. A Digital Only subscript= ion is $2 a month, while $70 a year gets you the full digital package plus = 4 issues of VICE magazine delivered straight to your door. As a bonus, ever= y kind of membership will nuke all the adverts on VICE.com.

 
 

 
  <= tr>
3D""
 
 
 

Want to reach= support? Send us an email here

Update your email preferences or unsu= bscribe here

© 2026 VICE MEDI= A

1402 3rd Ave N
Nashville, TN 37208, United States

Terms of Service
<= /td>
--5ef4f226427f349ccd39cbf3b60d1f57105ecf052ce2cb26bb23f1023484-- From - Fri Feb 27 18:20:12 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id kKhEGVrgoWmYJAYAYBR5ng (envelope-from ); Fri, 27 Feb 2026 18:20:10 +0000 Return-path: Envelope-to: pfeifferj@archlinux.ch Delivery-date: Fri, 27 Feb 2026 18:20:10 +0000 Received: from o2232.abmail.news.crypto.com ([167.89.32.187]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vw2Rc-00000001i7D-3v45 for pfeifferj@archlinux.ch; Fri, 27 Feb 2026 18:20:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=news.crypto.com; h=content-type:date:from:mime-version:subject:list-unsubscribe: list-unsubscribe-post:to:cc:content-type:date:from:subject:to; s=s1; bh=o3O5yVPyAPjwVbDQeSLHzlGKuj8o/h/SmIcmNZMXY5U=; b=nZp+Ab1SO1d0KzlCg0sb6QmVs4Yvzrt8tnfG9HBXwgGK7UkcqmVo7iautsi2ckGkFw9Q rrduCoDo3Du3h62ynHaGHRHH97N1WZ3W4FCJaVRSGGKngGBrTr1mNXg4X4jmFV/BxhCmTZ tIzMnHupS2AmWSi5NxCo3ukQHGde7E6yo11qFTy+Od+yUZDQJAGPBon+zyjjK79dUcBZsU 3SsUPpExBfMKXDzqasd/GoVOeM1NxATwD/HC7Nn/1I44z9ijA+N7IZwQhl54z+mhIG6lgL Xv5NCqx40iCc4jA+QXiJasVsn0vHVeH+TfmYVR3VTWvUsP8vbOb6Mq3EQQ6s3I4w== Received: by recvd-77c97b74bf-ftpn7 with SMTP id recvd-77c97b74bf-ftpn7-1-69A1E057-78 2026-02-27 18:20:07.707147783 +0000 UTC m=+6206940.007814177 Received: from MTE5NTY0MjM (unknown) by geopod-ismtpd-34 (SG) with HTTP id lQTu6g8qSR2bxWnesxAUjQ Fri, 27 Feb 2026 18:20:07.699 +0000 (UTC) Content-Type: multipart/alternative; boundary=f266b05cf03cd9d407665e87e2bb9490232db2f495123abac59c71364656 Date: Fri, 27 Feb 2026 18:20:07 +0000 (UTC) From: "Crypto.com" Mime-Version: 1.0 Message-ID: Subject: Start Trading to Unlock Your Welcome Bonus List-Unsubscribe: =?us-ascii?Q?=3Chttps=3A=2F=2F03=2Eemailinboundprocessing=2Ecom=2Fenc=5Fuser=2Flist=5Funsubscri?= =?us-ascii?Q?be=3Fd=3D%241%24rprLMdXvzgbrywZ2xy28xg%3D%3?= =?us-ascii?Q?D%24AzyWA3zy0tBVVojvRL5KXDeVdWfDXYq%2F0?= =?us-ascii?Q?dEBZZbA4Ho%2BJr0Wb9Bsx3p1Gaf%2B%0AoqHlT?= =?us-ascii?Q?lNYJXbfmGhj3odHBaLAPQWVIMnZL3wTgaV7Lts4?= =?us-ascii?Q?0d9jPohXi20kMkB9%0AVB%2FCMqXmgvVzwleu04?= =?us-ascii?Q?VOlpNa3wJftExBD9pFjYPZRJxfxNybNViLGZMeA?= =?us-ascii?Q?IPO%0Axjd3WBnPSA3nCDVKy9kYCHlMgndUABjSn?= =?us-ascii?Q?8nTMXMgPcHmSlHCwwirfR8ASnN4%0AxMVzd5bvr?= =?us-ascii?Q?%2BpO01d3mH50OT2VTjJ274LLx4LwtLk9ZbMS1s?= =?us-ascii?Q?e3Ru%2FwE5f3tpwR%0AMJYnsEJcrZag3dDD8t5u?= =?us-ascii?Q?xF6fPLVvVkE5JiIbyn3e64WBmafKm3Qy5cV4HMx?= =?us-ascii?Q?e%0AFJU0BD2K%2FsiLnCRHiBXwck59URNw7Q%2F?= =?us-ascii?Q?V40W2szTO%2BnBp0Lm%2F%2FpWECpQRSxUr%0AZ?= =?us-ascii?Q?JpjGPc%3D&1=3D1=3E=2C=3Cmailto=3A4=5Fn9qizpkun1abcl?= =?us-ascii?Q?tghap31mw5gzfhv1oa8splb7ifobcbgjyo7f3q4?= =?us-ascii?Q?0=40unsubscribe-03=2Eemailinboundprocessing?= =?us-ascii?Q?=2Ecom=3Fsubject=3DUnsubscribe%20pnrcgsqifxnm?= =?us-ascii?Q?trd86yj3akfi0tr7fw5ae95huwei0nwovcfd&bo?= =?us-ascii?Q?dy=tion-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-45efe81556fso2139107b6e.2 for ; Sat, 31 Jan 2026 07:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1769874837; x=1770479637; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=es4JeecL4qbaq7ZMUlzngsGo7GQdpeuMD9cshqCD5BM=; b=1/qmmZkQfk4elnkxUBpqoKRBAIivPPZdTNmiwiENMhuOS/QNdRTSkGOweWlC9X1KRI cRvXaAIDutBaTjj9p1e6bq24dcSaZWTUEAGKrkDnA9qmF12rg1AjbBar7lrHiWgnxcHo Yi8q3pGLIXW45c5VR53s4g8SyNM8e9IxlrUTed5w+lWMcpEgxWclCMLKyz9KVkTreuLN 0Yh0NLzGV+ycaLPti7ydUniUYwde4pukoltkPUYFveJhVTLezSUwva0ZWtXF3B1REL8/ BY16sbbnabFPkkF65EpRjccfNyYtrWtf88SZH4sbOvzC7WFsZNPaAZDimoFSsTpmuC5M PR1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769874837; x=1770479637; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=es4JeecL4qbaq7ZMUlzngsGo7GQdpeuMD9cshqCD5BM=; b=wQRxnQtbZaT1H3ChHG0t/zaZB7ozuAfvZlVvyu5LJYv9Zn5sU0wpkubfxaeKZWx+pG ssxaiFSJ8AnzdyfhzuECHcEOecMwOcW59zWLaI/GPGQKb/C5vba6fDG5iUmuXdBl0cNY juaVUmfwYV7uV1pqthzNM4q2ca0oc1f1yfG/1nOMYW5eztmPBSlUAuXwP+8JBtULAkdf 8+kZZTSsKB9XB/E/io84qgfhqbX1CXLNB8VipQCS4XgvqFi+/RjGlQVPrtIaJwvCfesW KsTh+3Vy/I/d8Vo1fdbG+wIRNgBxpDfxWuohN4NuEIlGFfdVXT164r03IleGJOZAURZR WKYA== X-Forwarded-Encrypted: i=1; AJvYcCWIC2HWeQzC/OWx3LOsxStnNQG2dBKUZuFI/TPV1zYDPLOnBDKsAR+TCa8YzV49Ohu1X7Vn9W0DxA==@vger.kernel.org X-Gm-Message-State: AOJu0YzCusLAtaib6EJ3m7QVZKiL4Ag2Q/mSp6Ig/vgrQo5oev+xKGFI wIY6jbq7QJPrsHrYwyT4xQv38Nl7kKzbSd+dL1qoPDsjEZPdjX2UvGAHQcLMnWGAxKU= X-Gm-Gg: AZuq6aKjplUb+ZI1bAQ/BLr/BoKgz19S8KI1UTC3l+jp0RX7BrIAn6wK/nqdsSDWHC4 LFVM0xFXZ5oW5NRTPdXiL/vQo0EI9MwLusShBx3DjRueOsDWjHfA+cw5x4o9d0dWu2hgDohOzPM z+4fM5x3hTB7QkoynF8ibQsh78D2c3QAPpo1N6P+W6GX5Ny4rmk36Pn0XpV05sT98DYrLUFCnoc 4kY17r60GWgnVl6CgFnLVmPrIhHrGcyO0yVhYpPyphjxjUrMN7QUigk/kUylO+QHJzxW9JaWKhV 4Sd3mRbMnY6uLMuvlvcXiD0RYMzQwOInKuSwC5QvRwNMe2ME/s171BLZqKKrJ0CNQPaWRlVkLqP JsHtyWvQnlmRMs1+7t5Zq+TDjC3xiB4VE/z38Mzva8UfcMDrfqKdjR22B68p/HT66SFCV73r5W0 UJSnNhtb75d/7oFZJ5rILCpK4tMC8FOhUQph2fLerJyabeXhcQE7Gup9xP2UJpbQsNlmqXQQ== X-Received: by 2002:a05:6808:4fcd:b0:44f:f747:f9f with SMTP id 5614622812f47-45f34cd0c5cmr3020550b6e.36.1769874837163; Sat, 31 Jan 2026 07:53:57 -0800 (PST) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 5614622812f47-45f08fb635csm6413741b6e.21.2026.01.31.07.53.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Jan 2026 07:53:56 -0800 (PST) Message-ID: Date: Sat, 31 Jan 2026 08:53:54 -0700 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next RFC 0/3] net: move .getsockopt away from __user buffers To: David Laight , Linus Torvalds Cc: Breno Leitao , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Kuniyuki Iwashima , Willem de Bruijn , metze@samba.org, Stanislav Fomichev , io-uring@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com References: <20260130-getsockopt-v1-0-9154fcff6f95@debian.org> <20260130205227.6fb1d9ad@pumpkin> <20260131153735.3c9273a8@pumpkin> Content-Language: en-US From: Jens Axboe In-Reply-To: <20260131153735.3c9273a8@pumpkin> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-DKIM: signer='kernel-dk.20230601.gappssmtp.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.5 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 5 On 1/31/26 8:37 AM, David Laight wrote: > On Fri, 30 Jan 2026 17:19:55 -0800 > Linus Torvalds wrote: > >> On Fri, 30 Jan 2026 at 14:40, David Laight wrote: >>> >>> There is not much point making the 'optval' parameter more than >>> a structure of a user and kernel address - one of which will be NULL. >> >> That's exactly what we do *NOT* want. Because people will get it >> wrong, and then we're back to the bad old days where trivial bugs >> result in security issues. > > It can still be a (semi-)transparent structure that code isn't allowed > to change. That is no different from using iov_iter. Then why not just use iov_iter?! FWIW, I fully agree with Linus on this one. We have an existing abstraction, we should use it. We've previously optimized common cases, like ITER_UBUF, if that ended up being important. We're better off using iov_iter and improving that, rather than some new mixed pointer abomination. >> Can you point to an actual case where setsockopt / getsockopt would be >> performance-critical? Typically you do it once or twice. > > IIRC a really horrid one - I think for async io. > That is also one of the few where the supplied length is a lie. Huh? -- Jens Axboe From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id WA4iE8Ylfmk92gUAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 15:54:46 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 15:54:46 +0000 Received: from sin.lore.kernel.org ([104.64.211.4]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmDJ7-000000022tK-1U0O for hi@josie.lol; Sat, 31 Jan 2026 15:54:46 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id A4F15300681E for ; Sat, 31 Jan 2026 15:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 640D73254BD; Sat, 31 Jan 2026 15:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="f37NOcNy" X-Original-To: stable@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 855663382F0; Sat, 31 Jan 2026 15:54:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769874880; cv=none; b=Kma/vTm1Km4OffWuqTkCr3ZuBVFMLQ1TbuOeTKqzNJIlEYIYocQEB8r2BNS9onq/BsQfA8OqT0UdyoVpl1kSQlyH2hmX5Y2Zpv8ihKlAPg2GwR8h0KeqZZmIVs1m7h9rafpZ2X7uPxuPpqnsBLltCHp9+tRRVvMc1DQinWFaxiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769874880; c=relaxed/simple; bh=yP/+lWu8w6TVpcU/sK04du+syKfA7fdOXqbErdv8SGk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OX/e6bAr9LzpVAYmpWDr9Y8WX23aaqBzg4PbX+BlWUX9hlwyGu/ThPF12Fw3kt9euM8alhbF0J9q8SUXEXuhr38QOFExlRWrsRhEJuDRAj9b3tOdVyd6Mz4BNYd/KcERuywFIT+Kr40v7bolu4nrT5jU/7Ol66O0tIx5YO9s5fw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=f37NOcNy; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769874878; x=1801410878; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yP/+lWu8w6TVpcU/sK04du+syKfA7fdOXqbErdv8SGk=; b=f37NOcNyYVKnSTwbctSd3O7TVzwn+GF3zQeo7lLNnGfVkx+ipP8pXdtQ Y8ee44Hxqr3eGHvHIsQJ/z54AMTpftq5v+SYKbawL70IWJ6J5TfldzTHT 9pLzzN3rcKdJTlS9ha1YRlFrqHDB4x7ZSwCFmVXP1IEBy99BpmaoIVqdq Jo7u6PGANeg42bkZ+4whbDE79j33fARD5Jt0AB1xsj65pYNn8s2/geXlA cif4rFQxZRF7SRvsDwYyvtL+nqOIYIVIIruA8Blcbub1yPRfHwOK5ZUjq hLt8yaxmSfORHWxWFK8wotuDp6Fw2QLzPhMequke3RxanYQUDZORtH176 w==; X-CSE-ConnectionGUID: 4YvMylxZTTuK3wJZZXlwcQ== X-CSE-MsgGUID: +hk1m2nSS9i9ox5RZgmG+Q== X-IronPort-AV: E=McAfee;i="6800,10657,11687"; a="70118250" X-IronPort-AV: E=Sophos;i="6.21,265,1763452800"; d="scan'208";a="70118250" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2026 07:54:38 -0800 X-CSE-ConnectionGUID: mNM1mRCKRvO2CXNfpAHMEg== X-CSE-MsgGUID: HLs4j+UdQ/C/xg8xorcjOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,265,1763452800"; d="scan'208";a="208350889" Received: from igk-lkp-server01.igk.intel.com (HELO afc5bfd7f602) ([10.211.93.152]) by orviesa010.jf.intel.com with ESMTP; 31 Jan 2026 07:54:16 -0800 Received: from kbuild by afc5bfd7f602 with local (Exim 4.98.2) (envelope-from ) id 1vmDIc-000000002iX-0fps; Sat, 31 Jan 2026 15:54:14 +0000 Date: Sat, 31 Jan 2026 16:54:04 +0100 From: kernel test robot To: nspmangalore@gmail.com, linux-cifs@vger.kernel.org, smfrench@gmail.com, pc@manguebit.org, bharathsm@microsoft.com Cc: oe-kbuild-all@lists.linux.dev, Shyam Prasad N , stable@vger.kernel.org Subject: Re: [PATCH 2/2] cifs: Fix locking usage for tcon fields Message-ID: <202601311634.9WVpg186-lkp@intel.com> References: <20260131080239.943483-2-sprasad@microsoft.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260131080239.943483-2-sprasad@microsoft.com> X-DKIM: signer='intel.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='@intel.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 Hi, kernel test robot noticed the following build errors: [auto build test ERROR on cifs/for-next] [also build test ERROR on linus/master v6.19-rc7 next-20260130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/nspmangalore-gmail-com/cifs-Fix-locking-usage-for-tcon-fields/20260131-160419 base: git://git.samba.org/sfrench/cifs-2.6.git for-next patch link: https://lore.kernel.org/r/20260131080239.943483-2-sprasad%40microsoft.com patch subject: [PATCH 2/2] cifs: Fix locking usage for tcon fields config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260131/202601311634.9WVpg186-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260131/202601311634.9WVpg186-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202601311634.9WVpg186-lkp@intel.com/ All errors (new ones prefixed by >>): fs/smb/client/smb2ops.c: In function 'smb2_get_dfs_refer': >> fs/smb/client/smb2ops.c:3178:17: error: too few arguments to function 'cifs_put_tcon'; expected 2, have 1 3178 | cifs_put_tcon(tcon); | ^~~~~~~~~~~~~ In file included from fs/smb/client/smb2ops.c:20: fs/smb/client/cifsproto.h:273:6: note: declared here 273 | void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace); | ^~~~~~~~~~~~~ vim +/cifs_put_tcon +3178 fs/smb/client/smb2ops.c 3078 3079 static int 3080 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, 3081 const char *search_name, 3082 struct dfs_info3_param **target_nodes, 3083 unsigned int *num_of_nodes, 3084 const struct nls_table *nls_codepage, int remap) 3085 { 3086 int rc; 3087 __le16 *utf16_path = NULL; 3088 int utf16_path_len = 0; 3089 struct cifs_tcon *tcon; 3090 struct fsctl_get_dfs_referral_req *dfs_req = NULL; 3091 struct get_dfs_referral_rsp *dfs_rsp = NULL; 3092 u32 dfs_req_size = 0, dfs_rsp_size = 0; 3093 int retry_once = 0; 3094 3095 cifs_dbg(FYI, "%s: path: %s\n", __func__, search_name); 3096 3097 /* 3098 * Try to use the IPC tcon, otherwise just use any 3099 */ 3100 tcon = ses->tcon_ipc; 3101 if (tcon == NULL) { 3102 spin_lock(&cifs_tcp_ses_lock); 3103 tcon = list_first_entry_or_null(&ses->tcon_list, 3104 struct cifs_tcon, 3105 tcon_list); 3106 if (tcon) { 3107 spin_lock(&tcon->tc_lock); 3108 tcon->tc_count++; 3109 spin_unlock(&tcon->tc_lock); 3110 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, 3111 netfs_trace_tcon_ref_get_dfs_refer); 3112 } 3113 spin_unlock(&cifs_tcp_ses_lock); 3114 } 3115 3116 if (tcon == NULL) { 3117 cifs_dbg(VFS, "session %p has no tcon available for a dfs referral request\n", 3118 ses); 3119 rc = -ENOTCONN; 3120 goto out; 3121 } 3122 3123 utf16_path = cifs_strndup_to_utf16(search_name, PATH_MAX, 3124 &utf16_path_len, 3125 nls_codepage, remap); 3126 if (!utf16_path) { 3127 rc = -ENOMEM; 3128 goto out; 3129 } 3130 3131 dfs_req_size = sizeof(*dfs_req) + utf16_path_len; 3132 dfs_req = kzalloc(dfs_req_size, GFP_KERNEL); 3133 if (!dfs_req) { 3134 rc = -ENOMEM; 3135 goto out; 3136 } 3137 3138 /* Highest DFS referral version understood */ 3139 dfs_req->MaxReferralLevel = DFS_VERSION; 3140 3141 /* Path to resolve in an UTF-16 null-terminated string */ 3142 memcpy(dfs_req->RequestFileName, utf16_path, utf16_path_len); 3143 3144 for (;;) { 3145 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, 3146 FSCTL_DFS_GET_REFERRALS, 3147 (char *)dfs_req, dfs_req_size, CIFSMaxBufSize, 3148 (char **)&dfs_rsp, &dfs_rsp_size); 3149 if (fatal_signal_pending(current)) { 3150 rc = -EINTR; 3151 break; 3152 } 3153 if (!is_retryable_error(rc) || retry_once++) 3154 break; 3155 usleep_range(512, 2048); 3156 } 3157 3158 if (!rc && !dfs_rsp) 3159 rc = smb_EIO(smb_eio_trace_dfsref_no_rsp); 3160 if (rc) { 3161 if (!is_retryable_error(rc) && rc != -ENOENT && rc != -EOPNOTSUPP) 3162 cifs_tcon_dbg(FYI, "%s: ioctl error: rc=%d\n", __func__, rc); 3163 goto out; 3164 } 3165 3166 rc = parse_dfs_referrals(dfs_rsp, dfs_rsp_size, 3167 num_of_nodes, target_nodes, 3168 nls_codepage, remap, search_name, 3169 true /* is_unicode */); 3170 if (rc && rc != -ENOENT) { 3171 cifs_tcon_dbg(VFS, "%s: failed to parse DFS referral %s: %d\n", 3172 __func__, search_name, rc); 3173 } 3174 3175 out: 3176 if (tcon && !tcon->ipc) { 3177 /* ipc tcons are not refcounted */ > 3178 cifs_put_tcon(tcon); 3179 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, 3180 netfs_trace_tcon_ref_dec_dfs_refer); 3181 } 3182 kfree(utf16_path); 3183 kfree(dfs_req); 3184 kfree(dfs_rsp); 3185 return rc; 3186 } 3187 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id EL+MHOYmfmli9QIAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 15:59:34 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 15:59:34 +0000 Received: from sin.lore.kernel.org ([104.64.211.4]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmDNl-00000002AnL-2mLP for hi@josie.lol; Sat, 31 Jan 2026 15:59:34 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 7C179300C55A for ; Sat, 31 Jan 2026 15:59:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47DAE33ADA7; Sat, 31 Jan 2026 15:58:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="jAyWIZvV" X-Original-To: stable@vger.kernel.org Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.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 8EA9D33DEEC for ; Sat, 31 Jan 2026 15:58:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875138; cv=none; b=c3lox9o1/uvulNeTLzIsBuwetWeHbGpBKhRYYBuCBWe5ChmMqSVCh1Fv6jDhu8nVMc8y920Bg6QEwTQ5m/sCqKWK8KYoSTZ9Qo9xQv2U9vEq7CxxSOaQt85yHc5uECB46IE3dJdAfsRQxAcTFUtvWCBITGV+QNp01Kp3MF1eD6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875138; c=relaxed/simple; bh=K9aN7OjuKemtuSTajY0LoUlFdOIQZsAHYT3xi+Lw8SQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dvexODhncf9Y1+Klatldw4djKz6Nt5Yp0QK5Bvv2rL8CHVL0EfrsC3NIy1fK8Mr1+ywNGo+OJnc3Yp4yuzO6t2q4F56yUHFIg3plMIRlpiQU2mrm06D782xhd2oPVyr1mlywdEXdIdtx/JbfbroxWvWSGZ7Ry2ZLJRiX/breQ8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=jAyWIZvV; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-42fbbc3df8fso2355361f8f.2 for ; Sat, 31 Jan 2026 07:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1769875135; x=1770479935; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FVER5vPZC6mrgsjqcbK85uhUXRqOLGCzOU5rUyInYAc=; b=jAyWIZvVzZOL7FBF1Z2dsEP7T97EjKtDKtxreN9rC7hcjhrUkcrw6bN33SnHUCW8Gk A0+LaSaix/+/GD3q2d31Vl8aNa89pOuOTAFXEHxHMx0IBI+Uc6gyrt9GivmTs4/OeIj8 VZU9vxW/BMWaLT8cvko+NTOISfITbvC9ohtjXsf7TgQBwq+kdhuKutBGwDs0JwkuqREA yC2aNgxP2FFeVdDsvIHh2qck4yNmVG0tPHibmLHrKBX++EOcpQ9ERj93DuOxtxAly8eB 7KXVO46y9jOmfoTlhlr5QAFY6iCECHnC9w9fbKcGpnvBjlxZ3sgNxnAiQlNjcLjB8mAL ZeaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769875135; x=1770479935; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FVER5vPZC6mrgsjqcbK85uhUXRqOLGCzOU5rUyInYAc=; b=oQAqS8A+tGUjZCuY4qfncVfXdw1Rm75dVaFif3aTJUIvF95badK9UX91ExZwy4GSAf DMa9j/3ZYyXyPjyMj7hY5/7Gn/c5SjVECvT/Rpe/+sPwv6NQ0zYw8xEnQZdIH1/OTvrI Qe01ayohC+JO5cMa7meW/fqg/PeLveGuNCJrs0HdmqohO6JkkrleJzLk15J9MxLx7UU4 9N/PZpN3Aksk7L0PQKhXcMPOhJNEhRl+mDPsVXuNdXEEY000R3836qj6KbBtJ2++r7jv EO6zeGIXaTowjgmHVyStDW8e4WG0M0x2/coesaQPQhut9uVtZZcv51EUJVH2TBIPacBD 29Vg== X-Forwarded-Encrypted: i=1; AJvYcCXFSrztJCSq85QstxOlcnxxxbjK2KGgppqk9+8af9yExtC/9HjzByhuBlgS6dsvRoVdzoIrz4A=@vger.kernel.org X-Gm-Message-State: AOJu0YzZ20wWiXHhcMeD1vzgH1+35mSuusF8vjZ2TRauDyoinSELKR9q UtXXAWSR2HTyVOs0yqeoomB6zF5qAmrafrqlwYON71lkb+Xhva27zjJQ8Rn1QemjVDk= X-Gm-Gg: AZuq6aLjklmSI24NXa263Rv/VXf6jDy0TrHhiP/lWirSK/rg+JfSPkhORzHZCGJFE0x HODIoiweweVeX8X5F3TY0bwuIHzUHjepiBRJicGJlpt21MAR9z8hXRNFe5UXCuSBHhmj8r3IVpA a63jjv16NbeNTvIoNh+mxLT4EyCXJ2xfQRIF39GN9G40SWnO0q1l/2T6RgTaZCPDt/PYk7h8eP4 wZZsjUjZFu4DRQEVLx5QG1qvA1T1fnxtjBCFbvOuvRmYw92M6CX1ZUn66sRLQBcwmS4ifMYr6mj /qlf0WrRV3vEQ73GbQaWWz+peRUgZPBWt/vJh5EMdgLLlQALX/BnR5on4AEgZo8IXNXhf0EQvHz nNC7+pwc14GH0UlruVe3w7Yyj1WjmCuPYq6l+ZR3ydbdbBrH+xUNlSrmHWeXEiRe2zCxRYaEBfH F7nzpZiJIhXkfj90N6CQ== X-Received: by 2002:a05:6000:24c1:b0:435:8ad8:b7a with SMTP id ffacd0b85a97d-435f3aaf763mr9878839f8f.46.1769875134874; Sat, 31 Jan 2026 07:58:54 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.31]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e1322f40sm29757534f8f.34.2026.01.31.07.58.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Jan 2026 07:58:54 -0800 (PST) Message-ID: Date: Sat, 31 Jan 2026 17:58:53 +0200 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 10/19] nvmem: microchip-otpc: Avoid reading a write-only register To: Alexander Dahl Cc: Nicolas Ferre , Alexandre Belloni , Ryan Wanner , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, stable@vger.kernel.org, Srinivas Kandagatla , Greg Kroah-Hartman References: <20260120143759.904013-1-ada@thorsis.com> <20260120154502.1280938-1-ada@thorsis.com> <20260120154502.1280938-4-ada@thorsis.com> Content-Language: en-US From: Claudiu Beznea In-Reply-To: <20260120154502.1280938-4-ada@thorsis.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DKIM: signer='tuxon.dev' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: tuxon.dev] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [104.64.211.4 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 On 1/20/26 17:44, Alexander Dahl wrote: > The OTPC Control Register (OTPC_CR) has just write-only members. > Reading from that register leads to a warning in OTPC Write Protection > Status Register (OTPC_WPSR) in field Software Error Type (SWETYP) of > type READ_WO (A write-only register has been read (warning).) > > Just create the register write content from scratch is sufficient here. > > Fixes: 98830350d3fc ("nvmem: microchip-otpc: add support") > Cc:stable@vger.kernel.org > Signed-off-by: Alexander Dahl Reviewed-by: Claudiu Beznea From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id kNZ4FkMnfmmXDgYAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 16:01:07 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 16:01:07 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmDPF-00000002DhZ-0B0O for hi@josie.lol; Sat, 31 Jan 2026 16:01:07 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id E607D3028B23 for ; Sat, 31 Jan 2026 16:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3314E329E73; Sat, 31 Jan 2026 16:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="ovZxhndc" X-Original-To: stable@vger.kernel.org Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.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 92A702D3231 for ; Sat, 31 Jan 2026 16:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875261; cv=none; b=XAxPXQTRZOdVsAseMriyn9IsTArJq2kcxgZq9ZPbmFwaeraDoRvGEyI6fVKSSlCpnAfhIeCfUAPLoE1luLXXEyDcO1ICfzwuHyq8irlXCGH7T+SaMekp59SuaLQBBch5o9zZWQrAOyr7eiMscdyb8SrmiEufkCjTj7StzCUHEao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769875261; c=relaxed/simple; bh=yejpOMXPzkPs1BTMWVwwoFRdN1K7aZPHm5sr49+HsXU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lI6ikivTdmB4HJYr4U+cTFLkOBNlZ+S8vRgalJwI8e7oMrhjQqHyPnS+/gXkIbaMCR91XPvE6k+aG5GSgr4iWISSH3PJBt4iQShgZ9mfzChIlfhaCrkJ/N3FjSZjAafUZs3j5cFN3uMkRtqTeusoejzdkZ1apoQOcxRaTf4aAU8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=ovZxhndc; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-b8869cd7bb1so530897266b.1 for ; Sat, 31 Jan 2026 08:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1769875258; x=1770480058; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fJLogjaQIREWDYxPFSLJELLqjbCy21hgcIev5TDCa9s=; b=ovZxhndcN0ayhxIif4/KUa8P2F95O9ZGJ09txMKVJ4wWnIUfzXDyxKsa+69VpHTokC S8j3b1TnNjCNcH+4q6rXMtHrUp4KO4xWOA5xyzv9+fkZIJyXkYl5HNir6CO9JRUqlwDR V0eRHRL0uk0hMODh5+dIpysOlw84RJshLxVGKmBzZnxryI2pUF+cAZsMj0cz98otbm0F aFD1+f2sY5Uf9TWoYpHlmPLWqCJ+T24z7CzxAPPydA6ITIx8FHxPnElJYWnQ8UlnCaD5 lJQ9Gw6k023beQcg6K1Gonk6ZMjA1qAWrFb9LdEAafSKqgnCRIePd5vXQCD0arzBuXBh 4gbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769875258; x=1770480058; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fJLogjaQIREWDYxPFSLJELLqjbCy21hgcIev5TDCa9s=; b=fPTmQ4+9MTIJL44JUg3BrhHx9z4Gx4x7aBmndjs76C/2+Hui8Q7Ia7QCOKbF/hsc1L n5mFVtcMHoW6VgT6BFwk58lxfyc7W8Vij6FgMK8wjaXoG5nrFzePuBhoCjC2Uummx7LG ISo3xyZUxdOtPNHN4VbPzYhuJ7ds0wyeDYDul54jSmgvDElaRZmTdmW8zJxMo39UZzzG 8wkSa/2xSRpx5NxYBjy1pKcMCKlAKWMY8pPwvNoXfohyPWW4k8trZempekWOCh7kbE5U 4XSrqcBhBB8nZq1z276iZcnOukNpDyGZyByxhbXypSVqjqGR54kdu85O6ulAWXkDUGeK fDOQ== X-Forwarded-Encrypted: i=1; AJvYcCVv6dcVk8PjOdhLCz0MJ0sIIKJnGy4VWGd1yq83Q2tjRYjoHt14nOLbfAetSC4FSBzm4dTwsDo=@vger.kernel.org X-Gm-Message-State: AOJu0YxgqP7I3RkWDAk/e0G7OBa420ZYiRzoMrKE/lm2yC8n77DnOAuo ABdEIwDl2PyRnOpB5LrOkBBiVTHDf6JLFBVc2VkPeAxDoRKDVkpCa4gMWhWW+ZgdZZA= X-Gm-Gg: AZuq6aJVyhQ/5Dg3z+mnPzFzfArEtJO9Cqj4HxYD6owwBvaYBvNTYJTmeckgL6dOVUr MDmwkj7j0f8arIEv5EAOpWz9wrlSwkCWaELGdVdxPTah5wYjYp1mgafflR6RS7EWECtw7pWih27 XbWx7WbT5mk8wzVASSVdOsawLC3OJzqz9QLHnxp6/9gTZMwfpH0a9TTuTRj/KLzqAcFZh75YMIj 931QX01TFqR2RY3uIr61I8jM7u9YL9cuOlkNqCzg5fS2Mgx1yzOw4o02uGKPoFRVfitelV5IijV CH3Xt8Jso7wxX/FKuNrfznL+Z0JjeNTGeKjXFZNxoL1bLUbagbC3BIWC3jnd7KJuzP9/NVjI/fk Pyf8Qp9kGmV9jEQiwr2KopVKp5fm9t0ypA0qQEZ9kDfXl7esgaEAi7SzUF+YjvSWHZRKBe7KTa6 unFh4W3xIye203wA7gJFb07CEzyaQN X-Received: by 2002:a17:907:96a5:b0:b88:5bd7:63b0 with SMTP id a640c23a62f3a-b8dff5af70amr373554666b.11.1769875257922; Sat, 31 Jan 2026 08:00:57 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.31]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf183f2bsm587629966b.32.2026.01.31.08.00.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Jan 2026 08:00:57 -0800 (PST) Message-ID: Date: Sat, 31 Jan 2026 18:00:55 +0200 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 11/19] nvmem: microchip-otpc: Fix swapped 'sleep' and 'timeout' parameters To: Alexander Dahl Cc: Nicolas Ferre , Alexandre Belloni , Ryan Wanner , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, stable@vger.kernel.org, Srinivas Kandagatla , Greg Kroah-Hartman References: <20260120143759.904013-1-ada@thorsis.com> <20260120154502.1280938-1-ada@thorsis.com> <20260120154502.1280938-5-ada@thorsis.com> Content-Language: en-US From: Claudiu Beznea In-Reply-To: <20260120154502.1280938-5-ada@thorsis.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DKIM: signer='tuxon.dev' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: tuxon.dev] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 On 1/20/26 17:44, Alexander Dahl wrote: > Makes no sense to have a timeout shorter than the sleep time, it would > run into timeout right after the first sleep already. > While at it, use a more specific macro instead of the generic one, which > does exactly the same, but needs less parameters. > > Fixes: 98830350d3fc ("nvmem: microchip-otpc: add support") > Cc:stable@vger.kernel.org > Signed-off-by: Alexander Dahl Reviewed-by: Claudiu Beznea From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id mGfREBMvfmnmaQgAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 16:34:27 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 16:34:27 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmDvW-000000036QI-3GC1 for hi@josie.lol; Sat, 31 Jan 2026 16:34:27 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id F069D3010B90 for ; Sat, 31 Jan 2026 16:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FE2C33EB18; Sat, 31 Jan 2026 16:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hdQ/VfPx" X-Original-To: stable@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCAE1339875; Sat, 31 Jan 2026 16:34:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769877263; cv=none; b=YvwhdCst2K3lSNrYm81zfAm73RXfWO8Qxm0vZDPZle4y17KAJH2nVgsOAxW9ygKlv7/ldgrzRcFO2KuTO342ajavsPn6FeTtvT9YwGUYjamSWAHzb0CRIuiYRP7x+ZUyNsbaJzx7alyqtMQr1Tsf+sT809RXyEZyMxKpYR+aVNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769877263; c=relaxed/simple; bh=TXGzYCfaxy+KgDZAD5l6FylHMzTOKjN6aZabO5U+s5Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HhubsqHml1/uzYfW1Byko85e0LNNwKoxFHIyEi1aSqc/yzEjxPDgp24epiJLGrwcjdfMOIswT8nYvaJXJbTddJxv3rymEAy3D7NOX4MRBt5X8lPJV7xM1h00Moc1GAPIuFXpT/mmTl9HvzzbnkLcRyy2wBlTUWg1J0rejnkNWIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hdQ/VfPx; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769877262; x=1801413262; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TXGzYCfaxy+KgDZAD5l6FylHMzTOKjN6aZabO5U+s5Q=; b=hdQ/VfPxUVpQlOme6qrny900QM4q7aodZeJFWBjAF8meRGMwpX1CUBp0 OQBcQHICc8YaQEAO0eB8K8VuojyoIlTZbZPsirnO4X2H7lviTeAkECwhj 3Fpbtu+yo574H5II308OPj9NkY8a+fyoqMwIig1HeL5vSl7uhM/UDeRDl VUXHsWX5sG5i0MZt7pL9j0Ce0wAEiOpdeU9s+XX67ZWyug3rKfH973jM3 Anm2erKdGfgZZ04fqKrCsCGaBUiJ9ldaHCZHQABqDHlz+0cgNJq//FlFE yLLWF1oUn48Dfrgxz7enCGzX5hphBWDF9QldrbtpkDcskWsA3/0KNfTDN w==; X-CSE-ConnectionGUID: jRsr/u5rRCeVsJoIME2mNw== X-CSE-MsgGUID: Vts6iGxCR6uEuspyBWgRBg== X-IronPort-AV: E=McAfee;i="6800,10657,11688"; a="96563082" X-IronPort-AV: E=Sophos;i="6.21,265,1763452800"; d="scan'208";a="96563082" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2026 08:34:21 -0800 X-CSE-ConnectionGUID: 4QyvG5cbS1CNBVjK40AkeQ== X-CSE-MsgGUID: GELKly7XR12F1jp2aZ2MzQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,265,1763452800"; d="scan'208";a="214007532" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 31 Jan 2026 08:34:17 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vmDvL-00000000eBI-1pKZ; Sat, 31 Jan 2026 16:34:15 +0000 Date: Sun, 1 Feb 2026 00:33:52 +0800 From: kernel test robot To: Haoxiang Li , anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, daniel@iogearbox.net, magnus.karlsson@intel.com, bjorn@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Haoxiang Li , stable@vger.kernel.org Subject: Re: [Intel-wired-lan] [PATCH v2] i40e: add an error handling path in i40e_xsk_pool_enable() Message-ID: <202602010050.pI2ZZmft-lkp@intel.com> References: <20260131055217.729048-1-lihaoxiang@isrc.iscas.ac.cn> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260131055217.729048-1-lihaoxiang@isrc.iscas.ac.cn> X-DKIM: signer='intel.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='@intel.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 Hi Haoxiang, kernel test robot noticed the following build errors: [auto build test ERROR on tnguy-next-queue/dev-queue] [also build test ERROR on tnguy-net-queue/dev-queue linus/master v6.19-rc7 next-20260130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Haoxiang-Li/i40e-add-an-error-handling-path-in-i40e_xsk_pool_enable/20260131-135447 base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue patch link: https://lore.kernel.org/r/20260131055217.729048-1-lihaoxiang%40isrc.iscas.ac.cn patch subject: [Intel-wired-lan] [PATCH v2] i40e: add an error handling path in i40e_xsk_pool_enable() config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260201/202602010050.pI2ZZmft-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260201/202602010050.pI2ZZmft-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202602010050.pI2ZZmft-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/ethernet/intel/i40e/i40e_xsk.c:130:2: error: call to undeclared function 'i40e_xsk_pool_disable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | i40e_xsk_pool_disable(vsi, qid); | ^ drivers/net/ethernet/intel/i40e/i40e_xsk.c:130:2: note: did you mean 'i40e_xsk_pool_enable'? drivers/net/ethernet/intel/i40e/i40e_xsk.c:82:12: note: 'i40e_xsk_pool_enable' declared here 82 | static int i40e_xsk_pool_enable(struct i40e_vsi *vsi, | ^ >> drivers/net/ethernet/intel/i40e/i40e_xsk.c:141:12: error: conflicting types for 'i40e_xsk_pool_disable' 141 | static int i40e_xsk_pool_disable(struct i40e_vsi *vsi, u16 qid) | ^ drivers/net/ethernet/intel/i40e/i40e_xsk.c:130:2: note: previous implicit declaration is here 130 | i40e_xsk_pool_disable(vsi, qid); | ^ 2 errors generated. vim +/i40e_xsk_pool_disable +130 drivers/net/ethernet/intel/i40e/i40e_xsk.c 72 73 /** 74 * i40e_xsk_pool_enable - Enable/associate an AF_XDP buffer pool to a 75 * certain ring/qid 76 * @vsi: Current VSI 77 * @pool: buffer pool 78 * @qid: Rx ring to associate buffer pool with 79 * 80 * Returns 0 on success, <0 on failure 81 **/ 82 static int i40e_xsk_pool_enable(struct i40e_vsi *vsi, 83 struct xsk_buff_pool *pool, 84 u16 qid) 85 { 86 struct net_device *netdev = vsi->netdev; 87 bool if_running; 88 int err; 89 90 if (vsi->type != I40E_VSI_MAIN) 91 return -EINVAL; 92 93 if (qid >= vsi->num_queue_pairs) 94 return -EINVAL; 95 96 if (qid >= netdev->real_num_rx_queues || 97 qid >= netdev->real_num_tx_queues) 98 return -EINVAL; 99 100 err = xsk_pool_dma_map(pool, &vsi->back->pdev->dev, I40E_RX_DMA_ATTR); 101 if (err) 102 return err; 103 104 set_bit(qid, vsi->af_xdp_zc_qps); 105 106 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); 107 108 if (if_running) { 109 err = i40e_queue_pair_disable(vsi, qid); 110 if (err) 111 goto err_out; 112 113 err = i40e_realloc_rx_xdp_bi(vsi->rx_rings[qid], true); 114 if (err) 115 goto err_out; 116 117 err = i40e_queue_pair_enable(vsi, qid); 118 if (err) 119 goto err_out; 120 121 /* Kick start the NAPI context so that receiving will start */ 122 err = i40e_xsk_wakeup(vsi->netdev, qid, XDP_WAKEUP_RX); 123 if (err) 124 goto err_out; 125 } 126 127 return 0; 128 129 err_out: > 130 i40e_xsk_pool_disable(vsi, qid); 131 } 132 133 /** 134 * i40e_xsk_pool_disable - Disassociate an AF_XDP buffer pool from a 135 * certain ring/qid 136 * @vsi: Current VSI 137 * @qid: Rx ring to associate buffer pool with 138 * 139 * Returns 0 on success, <0 on failure 140 **/ > 141 static int i40e_xsk_pool_disable(struct i40e_vsi *vsi, u16 qid) 142 { 143 struct net_device *netdev = vsi->netdev; 144 struct xsk_buff_pool *pool; 145 bool if_running; 146 int err; 147 148 pool = xsk_get_pool_from_qid(netdev, qid); 149 if (!pool) 150 return -EINVAL; 151 152 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); 153 154 if (if_running) { 155 err = i40e_queue_pair_disable(vsi, qid); 156 if (err) 157 return err; 158 } 159 160 clear_bit(qid, vsi->af_xdp_zc_qps); 161 xsk_pool_dma_unmap(pool, I40E_RX_DMA_ATTR); 162 163 if (if_running) { 164 err = i40e_realloc_rx_xdp_bi(vsi->rx_rings[qid], false); 165 if (err) 166 return err; 167 err = i40e_queue_pair_enable(vsi, qid); 168 if (err) 169 return err; 170 } 171 172 return 0; 173 } 174 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id 4IRiEK8xfmnj4AMAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 16:45:35 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 16:45:35 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmE6J-00000003P1Y-03EE for hi@josie.lol; Sat, 31 Jan 2026 16:45:35 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id A57413013A8E for ; Sat, 31 Jan 2026 16:45:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9315314A83; Sat, 31 Jan 2026 16:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FRv89Blx" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 955A32DEA7A; Sat, 31 Jan 2026 16:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769877932; cv=none; b=rNTdHBIJBv2U75L8AqCQqAUjCVqZw765h8K4REmqueeY652W2+Lj20L3d1SCXHObnnbbfFf+rnebkcXRVO99NGnFZjqxQ7C8U4oqu9IaJs/IBQqPXxsDXNe7+NhiiI9CYONxs486L8rEcasM1YF9S9X2hZbGP2N7q7rQCHBuO7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769877932; c=relaxed/simple; bh=YRNNboMA42Rg8JXJNEe3s09TLdrWGIdAUFc72lUOX0M=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IkB8A5UHBX4eLYpupVZLAai4WZ5rKlv9u1db4hKrq9quVaCnftRRxyaAa3MB8zxdrnzdOeeVE0dChRm8X1+cMxbV7LNVwu33oKA7bIzqJ1bJrWrRYvACyF5KOJBRn/W3k8xYvViBnZ0615Kfdaj+1Q0FAPgL2Q3CloH5YprPUS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FRv89Blx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 791D2C4CEF1; Sat, 31 Jan 2026 16:45:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769877932; bh=YRNNboMA42Rg8JXJNEe3s09TLdrWGIdAUFc72lUOX0M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FRv89Blxzku1tdaroBO1cASK5KDvnvnudJZ3CHfeI14xyEeSWjT3uOiBCwPAX5N4r y7QddbAwuC8GTNrxFIekSbCXP7edHxUxlrrzsWfTBTe5IKMLYltF7J2+u+GVHKc8uE e7I9LmhufIl5nW+ADAOki/49AdApE8+rTbt6mIVpWX/mn+X6xZCxtEBx/baj4Dimjv +oZSA+ChGInokaCcp+W+MmmehQaMTiZuVsFRMysZIjzqF9T9Vbzdgm2Qz+yhXatpcV 5CbPoD9ZjcQVeSXLeKkbAHtVokN3ZO+RykrANDy9Iqyfj/2tt4lYyQMQrOLbsRMsz8 inSQEf2WaCxAg== Date: Sat, 31 Jan 2026 16:45:23 +0000 From: Jonathan Cameron To: Jean-Baptiste Maneyrol via B4 Relay Cc: jean-baptiste.maneyrol@tdk.com, David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Jean-Baptiste Maneyrol , Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] iio: imu: inv_icm42600: fix odr switch to the same value Message-ID: <20260131164523.18a9ecb1@jic23-huawei> In-Reply-To: <20260130-inv-icm42600-fix-odr-change-v1-1-347a03a57fa1@tdk.com> References: <20260130-inv-icm42600-fix-odr-change-v1-1-347a03a57fa1@tdk.com> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.2 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (-1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: -11 On Fri, 30 Jan 2026 16:38:47 +0100 Jean-Baptiste Maneyrol via B4 Relay wrote: > From: Jean-Baptiste Maneyrol > > ODR switch is done in 2 steps when FIFO is on : change the ODR register > value and acknowledge change when reading the FIFO ODR change flag. > When we are switching to the same odr value, we end up waiting for a > FIFO ODR flag that is never happening. > > Fix the issue by doing nothing and exiting properly when we are > switching to the same ODR value. > > Fixes: ec74ae9fd37c ("iio: imu: inv_icm42600: add accurate timestamping") > Signed-off-by: Jean-Baptiste Maneyrol > Cc: stable@vger.kernel.org Given we are very close to the merge window and I have the main pull request set up already, I'm going to apply this to a local fixes branch that I'll rebase and push out in a few weeks time. So there should be nothing else to do here, but you won't see it in linux-next for a little while. Maybe if I get a bunch of fixes I'll do a second pull request to Greg to line up for the merge window. thanks, Jonathan From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id wFvhIEAzfmnj4AMAYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 16:52:16 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 16:52:16 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmECm-00000003aKb-0PZj for hi@josie.lol; Sat, 31 Jan 2026 16:52:16 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id A11C23046B8B for ; Sat, 31 Jan 2026 16:51:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2345633D6E3; Sat, 31 Jan 2026 16:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="KfB8BQ1F" X-Original-To: stable@vger.kernel.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 A114E2D2491 for ; Sat, 31 Jan 2026 16:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.214.174 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769878278; cv=pass; b=nbvfHasjScNpxtPCcz0FItyh+JeD9P7V6KxsrrNxmxLchbMm0Rv0py5FdoFiVVjwNC/aYTVL6gKlzNMKKMtQbIiEnW2NRzJB7UiXw0szpsN0f5qnKnFm2pHoA1O0KZ/vdwkR5u/tEMnSck5jva3N2qRh93Va/pX5URNPcZAAINo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769878278; c=relaxed/simple; bh=PlKDov0CfRrzdYPEAvA5RZPww3ErXc+h3pemJ8YZZU0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PG21oog7BUYZ0RH3zAkdKx3uSo1QPZCuR+d/zeCdLMqp4e/dGYVbxB6IPc8EmjxlfAOyv04Y4G1UaLdpPr0EYiWGgep+XusZVHQNCUp7tXkXqLYJLOcaWz0JGVoqRiqcC2YXlpvH+ov7PfMHORcHJqgnUDtBjQeEH6lGq446NgY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=KfB8BQ1F; arc=pass smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2a1022dda33so20258995ad.2 for ; Sat, 31 Jan 2026 08:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769878276; cv=none; d=google.com; s=arc-20240605; b=XfBUpN54uHAmkBiI3D9RZMELVaNLz3KmDA7BwX4aEN4+rrBWDKFbDq2okJKOkT5OCz b/yAloUeRKq5YBzDD4j3EByymKhZEAkRDmo7r4En6N9xrIG2vPPUx3WBm4ryGHD7d+xn 5rU7DHEEDgAhdy236ICCV2CN60Jz/qmyTbB68T7mJn/qdHhkskFKWemGOJnkmnuV6U4Z DBK7ErmKxoXEHxopQq/1S+jIkNpNiOVSUBJiTy6GhxRAgOC8J6UX76VWp+Grjvjwp5cq EK/sfHbq5yDCa4TryPgUfEcqFBIWcEc8fc+zMU7+erbc22QosWEIbkdu+9zWAB+ymGnF U9Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TwOhp3zvds/DC2IPQt15OObsZRJJzyJCu2Sudhqgw2Q=; fh=qI151vpLEaC6e6PapYPIBnv6JUpn1hThqE7Rw1Ej/cQ=; b=BGIeOe8zRHmjelnAWjt7QGo2wVWKUaoJOOlNYP78Os7xU3fL8oI/oMEJ4uNZmVsv7n K16o89rNz3MbJ6tbKmtQMoi+02bkjuaW9HD2Mh5FeW1YMP3rgbdFfYli2PJUEoGhLKsc DJRK46DGudOtPzcvbUyfDWQPTUB2DfmCIVpFuTVkWp5PEvJ3tx26z2cXxRopkDvskJ+v kFnLADiVfB1jyH6T+Ja/2np1jhMs0i90xGktNP55sYFfZMjFXRRPtdEDqgFRpKlq2+7b DIjr/vy6ogksPJi3iYLGoZFa/OjqhK5Z3fiJ3ivEz3uh5/UW+y0AMdJbaAs+r9xTrVF6 rlWQ==; darn=vger.kernel.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1769878276; x=1770483076; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TwOhp3zvds/DC2IPQt15OObsZRJJzyJCu2Sudhqgw2Q=; b=KfB8BQ1FdaKteUXVdB5oznY4T7as0z96BWE8n2lRP4Nd+QNqHq16CDukhtve3gaBjM h2rkxofcP2YhIxlXon6/caU1o0nsJMpFxx+SQBkol+oWWZdp17ncUFNCPO6cUgTM1PSP JDb49s4uvoRoNKBlDkbJB4GP+TUNo93QC6ZJw/sodgJh5N1kCdJII1KgXzeIJCgq2hOx DV51KikrpEy1PDrQvSE58sqNkStAeMuNestUr5/+ET6QWn+CgpIxYWXF5MMRxchbavFI L6GFY+qGpnnIz6NLBxJEIcgHlzRk1oo0a6lQtxyDC1cjxK8z7mM5Jv4GAcnk6/WOZbO7 aPvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769878276; x=1770483076; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TwOhp3zvds/DC2IPQt15OObsZRJJzyJCu2Sudhqgw2Q=; b=pXZ3b54g0QwZUZ91P/TRj7aUGjewwVBEh+zN9sPsFGUdlci82NeqGI9FkTpceRxnwu lcZg/qsbhX9MfkskquyG3XFz0P5eEmMce1lr7CRnNYOGKiwRhVFzXkH11K6RFQUm/rAW ymRxvQSd5UzAZkZ/0BSN8uILDJ2luOMQj2Fhra3uJI2YxgC0sIcFpJdpCllNKlX6jXbS nIV2T9ExqFFAaVZrqKYFrO+mxCP4F1ASsPd6GFdnk1Ei9IHOObRWToIiA8dvvGL0+LzR nGs7BL5flbT+CkTqiRv6zwOJ6XgOlih+jwnsIZWwRMFsMYaXGd07+4DX7Va6A2xby0rB PYMg== X-Forwarded-Encrypted: i=1; AJvYcCU1+GlZxCbF55MYCJrFbT4icz316VxPyILfSN2BloNGTLKQrs1jRPH2JSFXayK56nxWmG+sNSY=@vger.kernel.org X-Gm-Message-State: AOJu0YyvVFlDuY/PA9DkKJVgalDJDzY5RsxF3yRcpgqsA8Uwm29TsIxH KPhcY+Zy3hT4qRj3JIfU0HS+oL+Q9BWb+qm7/vxw6O9Av7vD8455mtqgnPYYrba2W0CQB73Wcre EZqR3eNpWu5HPPPZxq3oPsR8WoJzErTmHv0L/qLzP X-Gm-Gg: AZuq6aKoSrRCApHRalxLyholN0ys8nW2oIzl+NsCAiCDFJSa+z1RpDFQQXupX/fFTi4 T/93dL4AvRE1ST21cbq5lRB70qa8P+NZUtNSs8ltTJsUpXf97QZ8Fm+VX8BbAyB+xSF2/++ZeJe gCnifaQrE7GE/Wf19uGfRVP3YB9nCyoZrhIwmMKNNTgT0JiIm46JkIoJyiXVe79nirDYM6Lbn1E OEkdbQiMeuSwtOquJArnWMSMpEj2s0uc0aclGgiNgGqgKgzxrI7N3juYUzyDNSNmNxiW3Co8qiz 9P0= X-Received: by 2002:a17:903:2bcc:b0:2a7:ca82:c198 with SMTP id d9443c01a7336-2a8d9593256mr66751155ad.6.1769878275702; Sat, 31 Jan 2026 08:51:15 -0800 (PST) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260130134220.305757-1-p@1g4.org> In-Reply-To: From: Jamal Hadi Salim Date: Sat, 31 Jan 2026 11:51:04 -0500 X-Gm-Features: AZwV_QhbvdUGGDKHMSVrKRp__slOASeUl2cG-7KOOlKDJEhjhAF8ghls5VrtbvI Message-ID: Subject: Re: [PATCH net] net: sched: act_api: size RTM_GETACTION reply by fill size To: Paul Moses Cc: netdev@vger.kernel.org, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Po Liu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-DKIM: signer='mojatatu-com.20230601.gappssmtp.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.5 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 5 . On Fri, Jan 30, 2026 at 3:48=E2=80=AFPM Paul Moses wrote: > > What version of act_gate.c are you currently testing? I am running plain ubuntu on this machine using their shipped kernel 6.8.0. But i did look at the latest kernel tree and the dumping code has not chang= ed. +Cc Po Liu who i believe added that code. >Did you actually run the tests? =E2=80=9Clarge dump=E2=80=9D creates ONE a= ction at base_index, with num_entries=3D100, then immediately does GETACTIO= N. So =E2=80=9Ctc actions ls action gate | grep index | wc -l=E2=80=9D won= =E2=80=99t exercise this, because it only counts actions. It doesn=E2=80=99= t amplify the per action dump size (the entry list does). It uses libmnl (m= nl_socket_sendto / mnl_socket_recvfrom) with MNL_SOCKET_BUFFER_SIZE. There = is no custom netlink handling. The failure is returned by the kernel before= userspace parses anything. The dumps are transactional at the netlink leve= l, but an individual action dump still has to fit in the skb backing that m= essage. Sorry - I am not running your code (didnt want to compile anything on this machine), just plain tc and i have to admit I dont know much about the mechanics or spec for gate, so my example is based on something Po Liu posted, here's a script to add 100 entries: --- for i in {1..100}; do echo "$i" tc actions add action gate clockid CLOCK_TAI sched-entry open 200000000 -1 8000000 sched-entry close 100000000 -1 -1 done --- Then dumping: $ sudo tc actions ls action gate | grep index index 1 ref 1 bind 0 index 2 ref 1 bind 0 index 3 ref 1 bind 0 index 4 ref 1 bind 0 index 5 ref 1 bind 0 index 6 ref 1 bind 0 .. ... .... index 95 ref 1 bind 0 index 96 ref 1 bind 0 index 97 ref 1 bind 0 index 98 ref 1 bind 0 index 99 ref 1 bind 0 index 100 ref 1 bind 0 $ > > look at af_netlink.c > /* NLMSG_GOODSIZE is small to avoid high order allocations being > * required, but it makes sense to _attempt_ a 32KiB allocation > * to reduce number of system calls on dump operations, if user > * ever provided a big enough buffer. > */ > ... > /* Trim skb to allocated size. User is expected to provide buffer= as > * large as max(min_dump_alloc, 32KiB (max_recvmsg_len capped at > * netlink_recvmsg())). dump will pack as many smaller messages a= s > * could fit within the allocated skb. skb is typically allocated > * with larger space than required (could be as much as near 2x t= he > * requested size with align to next power of 2 approach). Allowi= ng > * dump to use the excess space makes it difficult for a user to = have a > * reasonable static buffer based on the expected largest dump of= a > * single netdev. The outcome is MSG_TRUNC error. > */ > > This is where I am currently but I have seen these bugs appear throughout= all my iterations including what's in the tree currently, if you show me b= etter alternatives that solve my problems, I'll gladly accept. > https://github.com/torvalds/linux/compare/master...jopamo:linux:net-stabl= e-upstream-v4 > I dont see a problem with "dump" as you seem to be suggesting. I asked earlier if it is possible that you can create some single entry - not 100 as shown above that will consume more than NLMSG_GOODSIZE? My limited knowledge is not helping me see such a scenario. I looked at the transaction of how the 100 entries are dumped and i see the following: $ sudo tc actions ls action gate | grep total total acts 12 total acts 12 total acts 76 User space received batches of 12, 12, and last one was 76 before it received an empty message with NLMSG_DONE. cheers, jamal From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id 6ClBAhY2fmnE6D0AYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 17:04:22 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 17:04:22 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmEOT-00000003uuq-1nYd for hi@josie.lol; Sat, 31 Jan 2026 17:04:21 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id D05373009F9D for ; Sat, 31 Jan 2026 17:04:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE7F32F5A1F; Sat, 31 Jan 2026 17:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UE0JQVSS" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8974E2BE03C; Sat, 31 Jan 2026 17:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769879058; cv=none; b=jpoY9ELhF+zMdFtN2UsGjmRXgq+TvwZIYnH4BEzZlVZ5FrX5juErajHpnAqIufuYE/MxBpODJJvZuzDUmdY969vEYWwoT547ZqoPU0bsu3SHgqQ3b9iGG1k8SWDDOywibiZzZs7If3TE1QIE0BC07mWJtTLTmlDkgdpQch6RJjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769879058; c=relaxed/simple; bh=jlB+kwgAkIlez8BwqL0u7DAQRDxGufRgMdv36ayWNTQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sEAfrtbtwpLixv7yCJSGn70xXGLxAK2AJ33323Reje27XOUwvxFjqi/EFdF7FykeWzyHQMDI+sHwZb/2JglriUYfNlrwW/Qu5dTEfRh0/wS0s6VYoqOuoIfwa9/MOokqfCSYCUZbIHqO6ttYr535YAk44Ei2pqXoZz+pksvNSf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UE0JQVSS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AB34C4CEF1; Sat, 31 Jan 2026 17:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769879058; bh=jlB+kwgAkIlez8BwqL0u7DAQRDxGufRgMdv36ayWNTQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UE0JQVSSKsR+FHNS9aJMBffynYkJ5BWSTLJ46OZLUAHAhpWn27ofvGip4cxeIMGKj 9oC/Hi40wsz8xTIhzDCV2G+fQaTEP7r7H3qdqN/feqlGZrC6HQ0Cc337DSLado1B1U n3IxUgATe8WZAl0l7yKkpgfHfKRGoDwoRC0ktKgUbN0t2F7vUCeKxgI9Iw0ZElCBzp Eys3GZf3nE1ZN50UrhYyy+sgV8orTP4hZfZytlZe0YpWZddw1IehNelsxlKRktvtOk Xu/BGuwWKmgeFRK42QjqjecYd1hPYcbkSsOL679RHB0ZPPGOY0ghwSKX6iXK0bSlYL Z+/6SgWFzSw7A== Date: Sat, 31 Jan 2026 17:04:09 +0000 From: Jonathan Cameron To: Jean-Baptiste Maneyrol via B4 Relay Cc: jean-baptiste.maneyrol@tdk.com, David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Jonathan Cameron , Jean-Baptiste Maneyrol , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] iio: imu: inv_icm42600: fix odr switch when turning buffer off Message-ID: <20260131170409.328060fd@jic23-huawei> In-Reply-To: <20260130-inv-icm42600-fix-odr-change-when-turning-buffer-off-v1-1-f76fc3604bdc@tdk.com> References: <20260130-inv-icm42600-fix-odr-change-when-turning-buffer-off-v1-1-f76fc3604bdc@tdk.com> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.2 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (-1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: -11 On Fri, 30 Jan 2026 17:10:23 +0100 Jean-Baptiste Maneyrol via B4 Relay wrote: > From: Jean-Baptiste Maneyrol > > ODR switch is done in 2 steps when FIFO is on : change the ODR register > value and acknowledge change when reading the FIFO ODR change flag. > When we are switching odr and turning buffer off just afterward, we are > losing the FIFO ODR change flag and ODR switch is blocked. > > Fix the issue by force applying any waiting ODR change when turning > buffer off. > > Fixes: ec74ae9fd37c ("iio: imu: inv_icm42600: add accurate timestamping") > Signed-off-by: Jean-Baptiste Maneyrol > Cc: stable@vger.kernel.org Applied to my local tree for now. I'll rebase on something sensible in next few weeks then push it out. Thanks, Jonathan From - Sat Jan 31 17:15:26 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id YG0XEWw4fmnwwQ0AYBR5ng (envelope-from ) for ; Sat, 31 Jan 2026 17:14:20 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 31 Jan 2026 17:14:20 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vmEY7-00000004CW7-2zAv for hi@josie.lol; Sat, 31 Jan 2026 17:14:20 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 2A35A3019048 for ; Sat, 31 Jan 2026 17:14:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B5573431FD; Sat, 31 Jan 2026 17:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="ac6AQ+HE" X-Original-To: stable@vger.kernel.org Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 AC7A333F8D6 for ; Sat, 31 Jan 2026 17:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.210.176 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769879655; cv=pass; b=aWg+zCWAvrYrKxOdoSDEX2ypjjSf4EIoR5U9HMWPRMwzWnYLjZYERQ+YODIJBpgzMhEaHhg711c3XX2Cpq9sJkCsqylEVIH8Hq3G3mXuSUvYDyUyBfitr2dKqVASBtX7WycReAjrDThVm65MJUdLonEVp0l6qvLsYdIjaOYnToQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769879655; c=relaxed/simple; bh=r+vwDs7BuZngUPxeijC/0bcS3Gi48Tqn+Nl4riVXyC8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=khszUkgmTs6/nO86aMYMaimO1htFUYnwy+lvP64tfLS+rVHUpYbU+qjGS3xReMkSgQ/mUswNVsT/NERrp1bYenXdq8JPS3goW9iOxNKHhMtWc2x/2F3AVcHM6P17kxk7KCzNfk/6vlaftk+zSl2CSHKECVUZWjUAOdzlcx6Sq5A= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=ac6AQ+HE; arc=pass smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-81f4dfa82edso1737518b3a.0 for ; Sat, 31 Jan 2026 09:14:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769879653; cv=none; d=google.com; s=arc-20240605; b=a4crSTeiwp069E87jSHWivY4U7pzvBDUwUvZm3YgoeJb7fZayhSOiaVUWTc2eGzprn LIQVyE7vv1s3Zq1Kyt0oDFX6yy3ylv9OxUCwAFHGr5tjAzE3ETdd/Tee+9eEc+Hvfcbd kHeeQcGYBT+3LHdCKBR6JAJQYjfxc8dcmKoSzE/roHIIrouqfYiyBfT9ejrpg0XDpW5Z Fbu6AhB2rg8gzXDDN6cH6GnWYw7cOvrL4TP9cg0rtO3k1D/oVssRDczooFBOIeXsohRF hNy9QfXwDI054PBGnLDa/GqHZtsI8Q/aRjSdvUrEUiNmUxsqTZAaZ8XiS0n2WDF34trh QK5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=C+DEJkDZ8t1gSzphKTb6gNVdppljsyPu97cg1FwdVG0=; fh=5bJRyAO8RxGzg3nCEw5nL5pZ9A9z4+h/d+bn7Pw3QGs=; b=MX/QQ1GPRSah31Z/xp7lFe+vmmxyeLb3SX4owq6BiQV7HJ4EAEtjt/mf/EvICgjPSf /ZN9ihjYysnseE9gFJiGzUODqQWhFDr1b8uIt1aH+irRXmepm6NkwsAgcKc6rzWWp6N/ DeDFAVEfWJ6b1yn5DsZOHbSTfv9ngiXM3IKH8jQSNJSfLOTV91adregvT/0Bta6/387o 7MwxYYEshozIKO+Wx6eKZzc+w8bMY85DA71D0alui7SJpnq+hMZVGsqmKgUDbF8TPiBh Rmr9HXKYeHaQrNE8D3XT3zDRJZrwlli3Z2youQnudeDQQyvIOxI0Lyagm9juy8Xn7J3Z PyZA==; darn=vger.kernel.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1769879653; x=1770484453; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=C+DEJkDZ8t1gSzphKTb6gNVdppljsyPu97cg1FwdVG0=; b=ac6AQ+HE0jew4ccZ88RekymdsiPy9dXnI44jQeu9ZwFnxtp+Rz0KfAepDoPHxfMcfD Z5J8Z3+fiC+MHbTB3SGktoSpk8T0di9Qzt2iEn3S2j9+zpif0yLPQIh47GWyiZBssch1 P3SpG2KCKv5/32x5wTjlduggC3wxqTG0UNs3rIddwOLTa25i7nehxlTjIw/bfjBHirqx rrDKq2/hMchede6vcDXCO9xkGGVU2fo+8sNSwMbSBLpahv+mxmCYBA7XffnOosHkzZsV J9EPlk1h1teGnn4sI+5lwlyuU6LKrnedw74LTqMm4j9HWamu7jf5mAPH+GAP72kZr6Jb 9HZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769879653; x=1770484453; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=C+DEJkDZ8t1gSzphKTb6gNVdppljsyPu97cg1FwdVG0=; b=AAzocYyLtT74EEL9o0E8cMEXZqiRAZXYRraktgN5j2x6C2EbVj6Wb9DK/4KvmMzDX2 aO6+h3lfMHh/qwcL+3hwiDag8xDrISCeFZuF/gyPMRoCJFsu2atMH4/+9TkrCgiwYjNh R0Heoss4NQEhaaXPac2sqGmhfKumrROCQx1Z0tZ0bbuzXyjakr/xMLrz3IZAgqt2iJJb HKFp4U8cvWMp9UlRjy3StoThZIM78f+RBn8O5LUm26RX7Z3mL5bXsZnslGLvJE21Vuf5 yMvQCxNvCECqWfJpSGCRX8vh6RCIQ7QsKOOLOxTtBdULvig2EVbSRaKSrzsHLr8nzQks Rn9g== X-Forwarded-Encrypted: i=1; AJvYcCVKA73+9QaQpY9sFlBOtHUenHkNy63m8EVUUoxuUS72HJt26rgbPo2C6z9Ixi90/KzzrhmL+PI=@vger.kernel.org X-Gm-Message-State: AOJu0YxF+mGeZV/c8gs4HPSxIvUjad40kxgYEU4WDGxHax0MW0rqZnaS jYecs7+k+VAXPzytxmlCmgzekiUmAc4+kpBjj3U3SozHVb58EB8iXrFjuHKdXVvBNJSjpH4Eomm XNegmKR9rxw4n/EZFPITLo+y5QsfoITqhoCG5RB0N X-Gm-Gg: AZuq6aLMOqPBnW3MrKiA4JXnuE9BNvBzwZ+3tr179mMcEJYdO3FKRY5XSBrRwyIxDQ3 l+6+2Y1/CTTW/dCY4w5N69lYGOzKSjSGJQKdUdL5E2ZiwrW6B+EQkMECT1a40+TDDOr+1Bq67YX UJVIrpTCtHh555qzZ0W+0NjzUGzktMX/VZBScDWONRS3+j/GdVlMUTiMMd6LyZ4NxidnM1tkeUI c2aiIqDWzkeaxwi3k9ACRJk+Wvg1LmrWcJrsUA+Yp+CHac/fOixmhcpxQtC4ma208G+wbyLv0Uf z3Q= X-Received: by 2002:a05:6a21:730e:b0:38d:e9e8:25e0 with SMTP id adf61e73a8af0-392e0051edemr6582546637.20.1769879652878; Sat, 31 Jan 2026 09:14:12 -0800 (PST) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260130134220.305757-1-p@1g4.org> In-Reply-To: From: Jamal Hadi Salim Date: Sat, 31 Jan 2026 12:14:01 -0500 X-Gm-Features: AZwV_Qgs08CtqhIcbX8IL2co-VDwAiZD2ridaHVUhIq8MI3H4zkSvLzNniTVE_E Message-ID: Subject: Re: [PATCH net] net: sched: act_api: size RTM_GETACTION reply by fill size To: Paul Moses Cc: netdev@vger.kernel.org, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Po Liu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-DKIM: signer='mojatatu-com.20230601.gappssmtp.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.5 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 5 On Sat, Jan 31, 2026 at 11:51=E2=80=AFAM Jamal Hadi Salim wrote: > > . > > On Fri, Jan 30, 2026 at 3:48=E2=80=AFPM Paul Moses wrote: > > > > What version of act_gate.c are you currently testing? > > I am running plain ubuntu on this machine using their shipped kernel 6.8.= 0. > But i did look at the latest kernel tree and the dumping code has not cha= nged. > +Cc Po Liu who i believe added that code. > > >Did you actually run the tests? =E2=80=9Clarge dump=E2=80=9D creates ONE= action at base_index, with num_entries=3D100, then immediately does GETACT= ION. So =E2=80=9Ctc actions ls action gate | grep index | wc -l=E2=80=9D wo= n=E2=80=99t exercise this, because it only counts actions. It doesn=E2=80= =99t amplify the per action dump size (the entry list does). It uses libmnl= (mnl_socket_sendto / mnl_socket_recvfrom) with MNL_SOCKET_BUFFER_SIZE. The= re is no custom netlink handling. The failure is returned by the kernel bef= ore userspace parses anything. The dumps are transactional at the netlink l= evel, but an individual action dump still has to fit in the skb backing tha= t message. > > Sorry - I am not running your code (didnt want to compile anything on > this machine), just plain tc and i have to admit I dont know much > about the mechanics or spec for gate, so my example is based on > something Po Liu posted, here's a script to add 100 entries: > --- > for i in {1..100}; do > echo "$i" > tc actions add action gate clockid CLOCK_TAI sched-entry open > 200000000 -1 8000000 sched-entry close 100000000 -1 -1 > done > --- > > Then dumping: > > $ sudo tc actions ls action gate | grep index > index 1 ref 1 bind 0 > index 2 ref 1 bind 0 > index 3 ref 1 bind 0 > index 4 ref 1 bind 0 > index 5 ref 1 bind 0 > index 6 ref 1 bind 0 > .. > ... > .... > index 95 ref 1 bind 0 > index 96 ref 1 bind 0 > index 97 ref 1 bind 0 > index 98 ref 1 bind 0 > index 99 ref 1 bind 0 > index 100 ref 1 bind 0 > $ > > > > > > look at af_netlink.c > > /* NLMSG_GOODSIZE is small to avoid high order allocations bein= g > > * required, but it makes sense to _attempt_ a 32KiB allocation > > * to reduce number of system calls on dump operations, if user > > * ever provided a big enough buffer. > > */ > > ... > > /* Trim skb to allocated size. User is expected to provide buff= er as > > * large as max(min_dump_alloc, 32KiB (max_recvmsg_len capped a= t > > * netlink_recvmsg())). dump will pack as many smaller messages= as > > * could fit within the allocated skb. skb is typically allocat= ed > > * with larger space than required (could be as much as near 2x= the > > * requested size with align to next power of 2 approach). Allo= wing > > * dump to use the excess space makes it difficult for a user t= o have a > > * reasonable static buffer based on the expected largest dump = of a > > * single netdev. The outcome is MSG_TRUNC error. > > */ > > > > This is where I am currently but I have seen these bugs appear througho= ut all my iterations including what's in the tree currently, if you show me= better alternatives that solve my problems, I'll gladly accept. > > https://github.com/torvalds/linux/compare/master...jopamo:linux:net-sta= ble-upstream-v4 > > > > I dont see a problem with "dump" as you seem to be suggesting. I asked > earlier if it is possible that you can create some single entry - not > 100 as shown above that will consume more than NLMSG_GOODSIZE? My > limited knowledge is not helping me see such a scenario. Aha. I think there is a terminology mixup ;-> "dump" (a very unfortunate use of that word in the netlink world ;->) is a very special word. So when you take a dump in this world you are GETing a whole table. In this case all the gate actions. If i am not mistaken in your case this is not a dump - rather, you are CREATing a single entry which is bigger than NLMSG_GOODSIZE as i suspected. I dont believe iproute2 will allow you to do that. What's happening then is that the generated netlink event notification for that single entry is too big to fit in NLMSG_GOODSIZE. Let me try to craft something for that... cheers, jamal From - Sun Feb 01 17:36:40 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id CGhsHo6Ef2k28hAAYBR5ng (envelo 2026-03-06T17:04:46.766Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-06T17:04:46.766Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 0ms 2026-03-06T17:04:46.766Z [DEBUG] processPromptSlashCommand creating 3 messages for writing-plans 2026-03-06T17:04:46.766Z [DEBUG] Message 1: superpowers:writing-plans /superpowers:writing-plans Flash messages (cookie-based) and announcement banners for web-api