Skip to content

Commit d3c68f2

Browse files
Ashwin Chaugulerafaeljw
authored andcommitted
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 <[email protected]> Reviewed-by: Al Stone <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8ce344c commit d3c68f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

drivers/mailbox/pcc.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,10 @@ static int __init pcc_init(void)
352352

353353
return 0;
354354
}
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);

0 commit comments

Comments
 (0)