It is missing #defines for _COMPONENT and ACPI_MODULE_NAME. I guess ACPI_MODULE_NAME can simply be "DPAA2" but I have no idea what would be a proper value for _COMPONENT Reproduce: add "options ACPI_DEBUG" to sys/arm64/conf/GENERIC and build the kernel
adding myself as I have changes to the code I believe
Could you try review D47666?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c2dd2be344fbf59cf95f6773d4b09cc7dda0f876 commit c2dd2be344fbf59cf95f6773d4b09cc7dda0f876 Author: Dmitry Salychev <dsl@FreeBSD.org> AuthorDate: 2024-11-18 21:56:11 +0000 Commit: Dmitry Salychev <dsl@FreeBSD.org> CommitDate: 2024-11-19 15:49:04 +0000 dpaa2: Fix kernel built with ACPI_DEBUG PR: 282800 Reported by: phk Tested by: bz MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D47666 sys/dev/dpaa2/dpaa2_mc_acpi.c | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=05150edd1e303d47362bef5d25e2fd5e66de092b commit 05150edd1e303d47362bef5d25e2fd5e66de092b Author: Dmitry Salychev <dsl@FreeBSD.org> AuthorDate: 2024-11-18 21:56:11 +0000 Commit: Dmitry Salychev <dsl@FreeBSD.org> CommitDate: 2024-12-13 20:02:28 +0000 dpaa2: Fix kernel built with ACPI_DEBUG PR: 282800 Reported by: phk Tested by: bz MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D47666 (cherry picked from commit c2dd2be344fbf59cf95f6773d4b09cc7dda0f876) sys/dev/dpaa2/dpaa2_mc_acpi.c | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=795e9c9b55036ede124ac5821644477da757aa52 commit 795e9c9b55036ede124ac5821644477da757aa52 Author: Dmitry Salychev <dsl@FreeBSD.org> AuthorDate: 2024-11-18 21:56:11 +0000 Commit: Dmitry Salychev <dsl@FreeBSD.org> CommitDate: 2024-12-13 20:05:53 +0000 dpaa2: Fix kernel built with ACPI_DEBUG PR: 282800 Reported by: phk Tested by: bz MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D47666 (cherry picked from commit c2dd2be344fbf59cf95f6773d4b09cc7dda0f876) sys/dev/dpaa2/dpaa2_mc_acpi.c | 4 ++++ 1 file changed, 4 insertions(+)