From nobody Mon Oct 27 12:02:29 2025 X-Original-To: dev-commits-src-all@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 4cwBvp3X7Qz6DSXt; Mon, 27 Oct 2025 12:02:30 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cwBvn5F3wz3CWG; Mon, 27 Oct 2025 12:02:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761566549; 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; bh=QderzDdGpq/b0qzlJucTv5SCpxxddomj0mw+ynM4M60=; b=BIl9NuLS/3NQijic6S7XE9Ud+0myEuvzBYJqwNdarDC21g3IA4dUuEzLZbr6GMHxKUwqrL jKaxfdkM93QiHOleD7nuTFEoCO9XMjxD50xr8NJjtn6d2HHPBoiSIkEnhv7SaOLa6/3Awd iiyZG12kyLuDVNzxZ3z/a0r/Eab8MdhQ9rXBjiv+svpRuGlHqI9DOf6ZaTJ9ubXp1y/6y3 /WCcJ7UIkm/CvboSb4lVecF2xHw7OUd2dMGQjiiSKn/Cg+H18FQaLqWGxL3LVuN9dilAXB 4RQj2+xDn0nnKNAfJep1CvrxOalv3NQ3aKMtn3qStApRxpmKfUoBM5mJIYSQEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761566549; 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; bh=QderzDdGpq/b0qzlJucTv5SCpxxddomj0mw+ynM4M60=; b=NW6FZ4QvcFWmCGdtGXxI1kOIuBSpr2X775Op/T0GvzJZu1lXDEgq1oN8GOOwoKnrKEfXAB yTI/sFP4bW5JlNMvs7Vu9KWLEgnRYoZB4fhfFBxquUk3cVGFefCmn6ikQeM10buSjyY2Bn 640+f89aVWJcnXd5l8jKazsAKyhAlcwa2gTPJmk8OewLIrlcMqCKB8ZDZLDMrHD2RCVWoP c8w5foHmswIxJkuvlsQ3iB3LyyxoYE7LRMuqIomsCa3OWwdTHAetjiTCzT1FESIqX0oVkR dsw8alV22msnvi97shKwoRysmBuLg54R2X8WNt8d0pYwviG/yH70++dmovZbDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761566549; a=rsa-sha256; cv=none; b=MGoZn1Cp5dLuznyxPTymFfFBmvGJY2C0kl9bfAb8S7rzT8peTkyx7BI4eL4EF4nFhAD5/Q C8tku//HYXPW4h7RmcoKakSk+/6WvKnQDiBx8q6n2FYW5FXHviZB48XmB0QtpDEAhnBJJp 77ssMgL7x+O9cCP5wyg8iqi5uGR3N/zCx/R+WvLeCkgI/T4/i9DY+C3K6yePI8hCPmK5xS XnOHg7Hi57PnUz2eCgu6NW/9MQxTJRlFr1hwjIo34jVqcUopnZFrjOp/OI5DSIK+GjU+sZ gVkpMzlbIKLcARStHBK1YiZcQwaVKlInqmUHlY/u7kLzU9QSKfsJUR54o72zLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4cwBvn4VmLz1HTL; Mon, 27 Oct 2025 12:02:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59RC2T91077553; Mon, 27 Oct 2025 12:02:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59RC2TPX077550; Mon, 27 Oct 2025 12:02:29 GMT (envelope-from git) Date: Mon, 27 Oct 2025 12:02:29 GMT Message-Id: <202510271202.59RC2TPX077550@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 87cea227e194 - main - dev/ofw: Move ofw_cpu earlier List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87cea227e1945a8aa808b72d210f9a391be9b234 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=87cea227e1945a8aa808b72d210f9a391be9b234 commit 87cea227e1945a8aa808b72d210f9a391be9b234 Author: Andrew Turner AuthorDate: 2025-10-27 10:57:44 +0000 Commit: Andrew Turner CommitDate: 2025-10-27 11:36:18 +0000 dev/ofw: Move ofw_cpu earlier Move ofw_cpu to BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE so it can be used by other devices. Reviewed by: jhibbits Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D53328 --- sys/dev/ofw/ofw_cpu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/ofw/ofw_cpu.c b/sys/dev/ofw/ofw_cpu.c index 888af0440746..da66737b6da8 100644 --- a/sys/dev/ofw/ofw_cpu.c +++ b/sys/dev/ofw/ofw_cpu.c @@ -85,7 +85,8 @@ static driver_t ofw_cpulist_driver = { sizeof(struct ofw_cpulist_softc) }; -DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, 0, 0); +EARLY_DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); static int ofw_cpulist_probe(device_t dev) @@ -180,7 +181,8 @@ static driver_t ofw_cpu_driver = { sizeof(struct ofw_cpu_softc) }; -DRIVER_MODULE(ofw_cpu, cpulist, ofw_cpu_driver, 0, 0); +EARLY_DRIVER_MODULE(ofw_cpu, cpulist, ofw_cpu_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); static bool ofw_cpu_is_runnable(phandle_t node)