From nobody Mon Feb 13 18:34:56 2023 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 4PFtL84SKvz3pgv4 for ; Mon, 13 Feb 2023 18:34:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFtL82Szyz42HQ for ; Mon, 13 Feb 2023 18:34:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676313296; 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=WY4sUbKMg5nRbMETMkTG6+W5HC9i0QAII9AQO3ph/cA=; b=YaT5yVMdQqYvt9pBBxyc3yDF72m2hDzD5S546wSbiyj79pF1LwCjwSoR6uZiYhmpiT8Fiz 65/DXva2rD3flh3rAL64Y/Td98CSzpRYooN83xtU91UE5wrkDtF7gLjYMkq3YjyIXJGBEd ms5Y5rR2TIDNv0LUzjr1UKiwREUR8UG5WCJDCkK4uwbifwhwSv/DoLlnapUTcvF/rMhg9C l9f9AiKOOFxnxEtKQEnY1kyR6ZkBW/SqWTU4Vq3Bk0nPBzahW9HPnk2GEXXxHJMapYPMiI fiZd476tTwxY5+OpHkXRVvK4QNVwVh7wabpdj4HYr4LmhFKE+tv5Kc89iySFUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676313296; a=rsa-sha256; cv=none; b=TTOd7sZKljjbj6pSxj+rOEfHIjfzq7my+KCDpXxVJAR3eX7bYAyRodhpCv/x+QV81IsHz7 KPfBTIsNYc/gSxKebLiXHa4eJaPyIcQ5Y/kMLH6L7HZJP67L48uvubpdNhCxAdTZxWEXYT dO1sxZq+gd+RtByolnrmInDKOK8gyvQe70BVsh5EKJ88E3aaQPIkFpfDd6pDcUAuDrT8AA 5DvTugdUN8TK0f1G44U5mZM11tpZY7qvx62ACWjm9EbHJ+B/muhPv7h0sEyVwic4/Dw0/d 23FhvLAOFQR/Sk92/csaEJLRhBZB8Waf04TMxnnVYL/hN2phK3J+P28ZQBVvnQ== 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 4PFtL81QyXzTMZ for ; Mon, 13 Feb 2023 18:34:56 +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 31DIYuax090611 for ; Mon, 13 Feb 2023 18:34:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31DIYueS090610 for bugs@FreeBSD.org; Mon, 13 Feb 2023 18:34:56 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 268835] Use BUS_PASS_INTERRUPT+BUS_PASS_ORDER_LATE for bcm_dma (for RPi* contexts) Date: Mon, 13 Feb 2023 18:34:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268835 --- Comment #4 from Mark Millard --- (In reply to Mitchell Horne from comment #3) There is a history of my messages to the lists about the problem, going back into 2022-Apr, mostly freebsd-arm for the problem and, more recently, freebsd-hackers asking for help in solving the problem. (No replies.) From knowing crash details published in in 2022-Apr to knowing the fix here took me something like 8 months of trying to figure it out. The 2022-Apr freebsd-arm messages are somewhat messy as I explored firmware versions and made operator errors. Crash here means the attempt to dereference a small offset from a NULL pointer. https://lists.freebsd.org/archives/freebsd-arm/2022-April/001274.html has the original report with many console logs with backtraces, various firmware versions being tested. (Later messages for a while repeated this material.) https://lists.freebsd.org/archives/freebsd-arm/2022-April/001278.html is where I first showed the failing behavior at the source code level and the related (textual form of) DTB content for what was different between older firmware that did not lead to a crash vs. newer firmware that did. The message sequence also has material about other issues as I isolated things. (Part of the messy status.) Also a false report from accidentally deleting a file without noticing at the time --followed later by message(s) about that mistake. There is nothing to show for how I figured out the change. With what I'd gradually partially understood, a message about some other fix that I read turned out to be somewhat related in how it fixed something (not at all specific to RPi*'s). It lead to me the technique and that it applied to Device Tree (fdt) contexts for having resources ready in time. So: Found by analogy to something else that I saw. My first try was too early and produced messages about that. I then figured out the BUS_PASS_INTERRUPT dependency and and that BUS_PASS_ORDER_LATE was no longer too early. --=20 You are receiving this mail because: You are the assignee for the bug.=