Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCC: Initialize PCC Mailbox earlier at boot

This change initializes the PCC Mailbox earlier than
the ACPI processor driver. This enables drivers introduced
in follow up patches (e.g. CPPC) to be probed via the ACPI
processor driver interface. The CPPC probe requires the PCC
channel to be initialized for it to query each CPUs performance
capabilities.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Reviewed-by: Al Stone <al.stone@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Ashwin Chaugule and committed by
Rafael J. Wysocki
d3c68f21 8ce344c6

+7 -1
+7 -1
drivers/mailbox/pcc.c
··· 352 352 353 353 return 0; 354 354 } 355 - device_initcall(pcc_init); 355 + 356 + /* 357 + * Make PCC init postcore so that users of this mailbox 358 + * such as the ACPI Processor driver have it available 359 + * at their init. 360 + */ 361 + postcore_initcall(pcc_init);