]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow CPUs to be missing in the Arm PMU driver
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 19 Dec 2022 13:51:48 +0000 (13:51 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Thu, 22 Dec 2022 14:24:40 +0000 (14:24 +0000)
commit2eee99f794800124a7cc288763fcd8f8ae35935b
tree6fa764084fc50917dbbed2d63e4beff95fd7280d
parentf9ccec823a9f759ad6360c2a0c6336a3e2a6188a
Allow CPUs to be missing in the Arm PMU driver

To support running on some emulators we allow CPU start to fail if the
CPU we are starting is not present. The PMU driver will then check if
the CPU is present and fail to attach if any are missing.

To allow the PMU to be used in such an environment don't fail to attach
when a CPU is missing.

Sponsored by: Arm Ltd
sys/arm/arm/pmu_acpi.c