diff mbox

[v1,2/4] cpufreq: mediatek: Add mediatek related projects into blacklist

Message ID 1512713278-17807-3-git-send-email-andrew-sh.cheng@mediatek.com (mailing list archive)
State Mainlined
Delegated to: Rafael Wysocki
Headers show

Commit Message

andrew-sh.cheng Dec. 8, 2017, 6:07 a.m. UTC
mediatek projects will use mediate-cpufreq.c as cpufreq driver,
instead of using cpufreq_dt.c
Add mediatek related projects into cpufreq-dt blacklist

Signed-off-by: Andrew-sh Cheng <andrew-sh.cheng@mediatek.com>
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Viresh Kumar Dec. 11, 2017, 7:55 a.m. UTC | #1
On 08-12-17, 14:07, Andrew-sh Cheng wrote:
> mediatek projects will use mediate-cpufreq.c as cpufreq driver,
> instead of using cpufreq_dt.c
> Add mediatek related projects into cpufreq-dt blacklist
> 
> Signed-off-by: Andrew-sh Cheng <andrew-sh.cheng@mediatek.com>
> ---
>  drivers/cpufreq/cpufreq-dt-platdev.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index ecc56e2..3b585e4 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -108,6 +108,14 @@ static const struct of_device_id blacklist[] __initconst = {
>  
>  	{ .compatible = "marvell,armadaxp", },
>  
> +	{ .compatible = "mediatek,mt2701", },
> +	{ .compatible = "mediatek,mt2712", },
> +	{ .compatible = "mediatek,mt7622", },
> +	{ .compatible = "mediatek,mt7623", },
> +	{ .compatible = "mediatek,mt817x", },
> +	{ .compatible = "mediatek,mt8173", },
> +	{ .compatible = "mediatek,mt8176", },
> +
>  	{ .compatible = "nvidia,tegra124", },
>  
>  	{ .compatible = "st,stih407", },

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Sean Wang Jan. 22, 2018, 8:39 a.m. UTC | #2
Hi, Rafael and Viresh

Can you kindly guide me how to let the patch also be applied to 4.14 and
4.15 tree? Do I need to submit another patches for them?

These trees really need them. Otherwise, multi_v7_defconfig setup will
cause an occasional hang or unexpected behaviors on related boards as
[1] kernelci reported :-(

	Sean

[1]
https://kernelci.org/boot/mt7623n-bananapi-bpi-r2/


On Mon, 2017-12-11 at 13:25 +0530, Viresh Kumar wrote:
> On 08-12-17, 14:07, Andrew-sh Cheng wrote:
> > mediatek projects will use mediate-cpufreq.c as cpufreq driver,
> > instead of using cpufreq_dt.c
> > Add mediatek related projects into cpufreq-dt blacklist
> > 
> > Signed-off-by: Andrew-sh Cheng <andrew-sh.cheng@mediatek.com>
> > ---
> >  drivers/cpufreq/cpufreq-dt-platdev.c | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> > index ecc56e2..3b585e4 100644
> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> > @@ -108,6 +108,14 @@ static const struct of_device_id blacklist[] __initconst = {
> >  
> >  	{ .compatible = "marvell,armadaxp", },
> >  
> > +	{ .compatible = "mediatek,mt2701", },
> > +	{ .compatible = "mediatek,mt2712", },
> > +	{ .compatible = "mediatek,mt7622", },
> > +	{ .compatible = "mediatek,mt7623", },
> > +	{ .compatible = "mediatek,mt817x", },
> > +	{ .compatible = "mediatek,mt8173", },
> > +	{ .compatible = "mediatek,mt8176", },
> > +
> >  	{ .compatible = "nvidia,tegra124", },
> >  
> >  	{ .compatible = "st,stih407", },
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
>
Viresh Kumar Jan. 22, 2018, 10:16 a.m. UTC | #3
On 22-01-18, 16:39, Sean Wang wrote:
> Hi, Rafael and Viresh
> 
> Can you kindly guide me how to let the patch also be applied to 4.14 and
> 4.15 tree? Do I need to submit another patches for them?
> 
> These trees really need them. Otherwise, multi_v7_defconfig setup will
> cause an occasional hang or unexpected behaviors on related boards as
> [1] kernelci reported :-(

You need to send them for stable kernels, just follow the following doc on how
to send patches for stable kernels.

Documentation/process/stable-kernel-rules.rst
diff mbox

Patch

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index ecc56e2..3b585e4 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -108,6 +108,14 @@  static const struct of_device_id blacklist[] __initconst = {
 
 	{ .compatible = "marvell,armadaxp", },
 
+	{ .compatible = "mediatek,mt2701", },
+	{ .compatible = "mediatek,mt2712", },
+	{ .compatible = "mediatek,mt7622", },
+	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt817x", },
+	{ .compatible = "mediatek,mt8173", },
+	{ .compatible = "mediatek,mt8176", },
+
 	{ .compatible = "nvidia,tegra124", },
 
 	{ .compatible = "st,stih407", },