The lowest performance level state for the E-cores on the M2 Pro/Max is
authorkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 08:02:45 +0000 (08:02 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 08:02:45 +0000 (08:02 +0000)
commitd206605e52c867f8e96115aa681eedb068750633
tree8657332492de37448e35238808c4dfdd7ef5480a
parent8d068057b2a5a391499711fa746ce194bccc8a0d
The lowest performance level state for the E-cores on the M2 Pro/Max is
2 instead of 1.  Handle this by taking the lowest state from the opp tables
instead of hardcoding it.  Fixes cpuperf on the M2 Pro/Max.

ok patrick@
sys/arch/arm64/dev/aplcpu.c