Skip to content

Commit

Permalink
PCC: Initialize PCC Mailbox earlier at boot
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Ashwin Chaugule authored and rafaeljw committed Aug 25, 2015
1 parent 8ce344c commit d3c68f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/mailbox/pcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,10 @@ static int __init pcc_init(void)

return 0;
}
device_initcall(pcc_init);

/*
* Make PCC init postcore so that users of this mailbox
* such as the ACPI Processor driver have it available
* at their init.
*/
postcore_initcall(pcc_init);

0 comments on commit d3c68f2

Please sign in to comment.