From nobody Tue Apr 01 21:40:43 2025 X-Original-To: bugs@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 4ZS1dR5SVdz5s8f0 for ; Tue, 01 Apr 2025 21:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZS1dR4hk8z3VlY for ; Tue, 01 Apr 2025 21:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743543643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p3KLsk1o6kYZ3bzGpW5mnlFaM1L403AzSstH/K5V1TQ=; b=l+Y/CZeU2TT6wjynWVH4jI/Os3b0vddfb+SNqcxALk7OIGonbK2oGFwNbEu51Fz58lQNPu yP2c5lnrzlFNo1b2LoL4aYLYfSV1TcNrAn7zhPOWFbQlkHuXMa+3dIgPQx+xqczpDoAnPV /fF8JS8G86WFKkGvLFOQ1JuMGmsFo+RoA2wDz2AoRL2NLoetu+EkfQCL7N05ZbRCbuaQgv TeKsrvDI+f7QVDy+nzUnta7u0XcTOxXlkM6irbpcysYP8XQgJuMZEnITvlVb6vWIG84HGl /0ealt5AMleTZISnp/QILGUoqKbX4ZISoTjF10RA9J0XnskMC3EaqijFCh3eHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743543643; a=rsa-sha256; cv=none; b=W/5VyAvn17zI9owgql9Vn1pOc8bv8sIdWqxjBGMornMpaYzy7kCm3yHquL95lxVdYC1PMz pSDV1U5sOvQDlDJn7/+Kog0g+DjBK02VWX+IJkGHU5kh1+ktgzgnoNlypzusOJ4wODCoTR rD/m+dlK/Px+QvBOdiApK2mi2dXtVrZGaYpAQwwlVmL2aLbWu9f2YNgNC1tHcSk/HdVxEx 67KbnzGSWuFS8bXjizJJj6KAPhRYZFwWkKnRlsRKJcw6H0EIn1p4UmzWUjVs3U6QHBlHpa tJt4WMBLN02oiZvz7E7SXZdSALrIYlH79ePq+QUet2nraITE9AI4Wcbn6IComQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743543643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p3KLsk1o6kYZ3bzGpW5mnlFaM1L403AzSstH/K5V1TQ=; b=m7f3r2Mh7S9TB9O6vnIPF4TGPZ5BAnOP2sGsLOXNGQhQ0gvIqP8lxSaPmjsiAtbgHbj6Ia KwpQ242iPBzB5x7cW9pUyz6ZNJuXyt0prSSGycRUsLOJaK3o6t3riAZoTyck/urUC8oS7Q IYBAAouDdNbVHzy0jItmnQg7w6uiQpZGZwQ9uL867NNUow3IVMuxljJKAztvUh9bCD0KdG DMm2qGk+5453YhDCD6Kahz62eK9EfbxSRd4yqG3rQm3HPiFCGBh0A6u8n4o32VYBwk9RGn aBjDe9RW1lEjmqRvL9FX0YY+wVRHu9YwQiHYW9qnjvheXYurYzXs0gpASqwjxg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZS1dR4HQvzp2W for ; Tue, 01 Apr 2025 21:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 531LehiR001433 for ; Tue, 1 Apr 2025 21:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 531Leht7001432 for bugs@FreeBSD.org; Tue, 1 Apr 2025 21:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283189] Sporadic NVMe DMAR faults since updating to 14.2-STABLE Date: Tue, 01 Apr 2025 21:40:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283189 --- Comment #4 from Konstantin Belousov --- Sorry for the delay. My first question is, what are the small writes to the nvme devices, at all? If it is filesystem write, it must be of the DEV_BSIZE (512) size at least. Then, indeed DMAR spec allows for the non-coherent page tables walks from the iommu, see DMAR_ECAP_C bit in the ecap register. It would be useful to see the cap/ecap reports from the driver. Another potential issue might be a missed IOTLB invalidation command, or so= me bug with the invalidation command. The reason to theorize about it is that the issue happens only after relatively long uptime, where it is possible t= hat we wrap around the guest address space allocation, and then it might be that stale IOTLB entry is not flushed. But this is unlikely IMO. Did you matched the bus (GAS) address for PRP1 against the address from the DMAR fault reports? --=20 You are receiving this mail because: You are the assignee for the bug.=