From nobody Wed Nov 19 18:01:37 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dBTnl6vj5z6J3tc; Wed, 19 Nov 2025 18:01:47 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E8" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dBTnl4NGdz3VXS; Wed, 19 Nov 2025 18:01:47 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id D939EA64808; Wed, 19 Nov 2025 18:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1763575285; bh=ZvfEbLhGifJ4fX/JEJfTVqNTjNHgi447mRaFBG0jA4o=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Trp22mvhcrfXxF4fw5GW0aMt31TaW/aNirzv6uDFcrCHSGsKJH/soGt6Ycwhkd4sg 5tQXdcYYrXi9vb203nGW6nb3o3z9VMWGKki28S1BDn8McxoAT51pDi7jGGI63OQ6hr uKwd1yBs7SpBAxSJW1Xj5QMg/d/gkoHRIabvzH9vgYb4BXemJ8/Dey0yUVGQnKkeAM /lYSP8km9AxAVs/2Lw3aTG6jTs+OFyFMsnRezXBgO1IfUF35U+sK/5JbgQBrxGp6kl YhcJX7Zjp+gCQDMISagpdFhVzgKOHar9cQUA3wV+RvdAfXgW7+a5ngJFhJqM53F0YU GtTuavzW+YxfiLCz2uU2eGQSgpzeoKYIl5I7fHMcTkva9rGpMU98SWTnwiJHCswk7Q UouU5JLtbDf8bDvWZdj7lb1vYSfv/FDacKbkCfuOy+JB/P/sPMhBFZwcG9JAZSiQiK dp8VYeQXEz33AAwkRdbk/c6pxmzkp+HC37D41fE6XlXM6e9NMnvokF0vIt/obJyAQN +fhm9VmgwMBVo+RfFgLeSzbPsxQISQpPQqmYskzkmI3pStsOUjF01ocWGZ6yopM2YZ zNdIjMBkKiM924QbcJty0zUH/m+wMM0ec1J3NaD4+qYbeZdA7wVjTCunzWDrUzSPrG dwkjvnFlAqI4ZmA4kkKu2K6E= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 69FDA2D029E7; Wed, 19 Nov 2025 18:01:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id eJ5756f3IM3W; Wed, 19 Nov 2025 18:01:37 +0000 (UTC) Received: from nv.t4-02.sbone.de (nv.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 4DA8F2D029E6; Wed, 19 Nov 2025 18:01:37 +0000 (UTC) Date: Wed, 19 Nov 2025 18:01:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org, Wanpeng Qian Subject: Re: git: 20e94950c54e - main - nvme: Notify namespace changes better In-Reply-To: <691cdf72.35308.1c1c6fc1@gitrepo.freebsd.org> Message-ID: <1osso5q5-74o7-pr61-q328-n6451nor36q4@mnoonqbm.arg> References: <691cdf72.35308.1c1c6fc1@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dBTnl4NGdz3VXS On Tue, 18 Nov 2025, Warner Losh wrote: > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=20e94950c54e398049396647da36b9e2c3b639c1 > > commit 20e94950c54e398049396647da36b9e2c3b639c1 > Author: Wanpeng Qian > AuthorDate: 2025-11-18 15:24:23 +0000 > Commit: Warner Losh > CommitDate: 2025-11-18 20:32:22 +0000 > > nvme: Notify namespace changes better > > When we get a namespace notification, we have to reconstrut the > namespace to get the new identification data from the namespace. For > each namespace in the AEN, we will reconstrict it before we call the > notification. We also flag it as changed for the duration of the change > callback (prior versions of the patch needed to keep track, but we no > longer do, so this bit may be removed). Note when we've seen the > namespace so we can notify when it goes away. > > Co-authored-by: imp > Differential Revision: https://reviews.freebsd.org/D33032 > --- > sys/dev/nvme/nvme.h | 7 +++++-- > sys/dev/nvme/nvme_ctrlr.c | 12 +++++++++++- > sys/dev/nvme/nvme_ns.c | 9 ++++++--- > 3 files changed, 22 insertions(+), 6 deletions(-) Just replying to one of the multiple commits: It seems from somewhere a VIMAGE enabled kernel is pulling in systm.h for memmove; LINT-NOVIMAGE fails without the below: % git diff diff --git sys/dev/nvme/nvme.h sys/dev/nvme/nvme.h index 8f7a7fbda14c..e17c2bf41a5a 100644 --- sys/dev/nvme/nvme.h +++ sys/dev/nvme/nvme.h @@ -31,6 +31,7 @@ #ifdef _KERNEL #include +#include #endif #include -- Bjoern A. Zeeb r15:7