Bugzilla – Attachment 728060 Details for
Bug 1043231
Kernel build failed at armv7hl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
0002-mvebu-Use-dev_pm_opp_set_sharing_cpus-to-mark-OPP-ta.patch
0002-mvebu-Use-dev_pm_opp_set_sharing_cpus-to-mark-OPP-ta.patch (text/plain), 1.76 KB, created by
Matwey Kornilov
on 2017-06-07 19:34:24 UTC
(
hide
)
Description:
0002-mvebu-Use-dev_pm_opp_set_sharing_cpus-to-mark-OPP-ta.patch
Filename:
MIME Type:
Creator:
Matwey Kornilov
Created:
2017-06-07 19:34:24 UTC
Size:
1.76 KB
patch
obsolete
>From 5508c285b0a579f2394c7bafdecfbd6f459f9e35 Mon Sep 17 00:00:00 2001 >From: Viresh Kumar <viresh.kumar@linaro.org> >Date: Wed, 27 Apr 2016 08:52:25 +0530 >Subject: [PATCH 02/19] mvebu: Use dev_pm_opp_set_sharing_cpus() to mark OPP > tables as shared > >That will allow us to avoid using cpufreq-dt platform data. > >Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> >Acked-by: Arnd Bergmann <arnd@arndb.de> >Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> >Git-commit: 947bd567f7a5185325a8f85e5235cf1145bd4417 >Patch-mainline: v4.7-rc1 >Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> >--- > arch/arm/mach-mvebu/pmsu.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > >diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c >index ed8fda4cd055..8928f7caaf70 100644 >--- a/arch/arm/mach-mvebu/pmsu.c >+++ b/arch/arm/mach-mvebu/pmsu.c >@@ -20,7 +20,6 @@ > > #include <linux/clk.h> > #include <linux/cpu_pm.h> >-#include <linux/cpufreq-dt.h> > #include <linux/delay.h> > #include <linux/init.h> > #include <linux/io.h> >@@ -609,10 +608,6 @@ int mvebu_pmsu_dfs_request(int cpu) > return 0; > } > >-struct cpufreq_dt_platform_data cpufreq_dt_pd = { >- .independent_clocks = true, >-}; >- > static int __init armada_xp_pmsu_cpufreq_init(void) > { > struct device_node *np; >@@ -683,10 +678,15 @@ static int __init armada_xp_pmsu_cpufreq_init(void) > clk_put(clk); > return ret; > } >+ >+ ret = dev_pm_opp_set_sharing_cpus(cpu_dev, >+ cpumask_of(cpu_dev->id)); >+ if (ret) >+ dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n", >+ __func__, ret); > } > >- platform_device_register_data(NULL, "cpufreq-dt", -1, >- &cpufreq_dt_pd, sizeof(cpufreq_dt_pd)); >+ platform_device_register_simple("cpufreq-dt", -1, NULL, 0); > return 0; > } > >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1043231
:
728059
| 728060 |
728061
|
728062
|
728063
|
728064
|
728065
|
728066
|
728067
|
728068
|
728069
|
728070
|
728071
|
728072
|
728073
|
728074
|
728075
|
728076
|
728077
|
728521
|
728695
|
728770