summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorAshwin Chaugule <ashwin.chaugule@linaro.org>2015-08-05 09:40:24 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-08-25 03:25:46 +0200
commitd3c68f218f927bd4b14b586ea2dcecee54cf09ad (patch)
tree34c59bbb5fd9bf20ab0d6abfd3a9dbed51fc4f3f /drivers/mailbox
parent8ce344c66e3ce122585cfe68be1ef0ffd176380d (diff)
downloadtalos-obmc-linux-d3c68f218f927bd4b14b586ea2dcecee54cf09ad.tar.gz
talos-obmc-linux-d3c68f218f927bd4b14b586ea2dcecee54cf09ad.zip
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>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/pcc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index 26d121d1d501..68885a82e704 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -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);
OpenPOWER on IntegriCloud