stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ARM: orion: Fix DSA platform device after mvmdio conversion" has been added to the 4.2-stable tree
@ 2015-11-06  5:54 gregkh
  2015-11-06 19:31 ` [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: gregkh @ 2015-11-06  5:54 UTC (permalink / raw)
  To: f.fainelli, fvdw, gregkh, gregory.clement; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    ARM: orion: Fix DSA platform device after mvmdio conversion

to the 4.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm-orion-fix-dsa-platform-device-after-mvmdio-conversion.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From d836ace65ee98d7079bc3c5afdbcc0e27dca20a3 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Sat, 3 Oct 2015 13:03:47 -0700
Subject: ARM: orion: Fix DSA platform device after mvmdio conversion

From: Florian Fainelli <f.fainelli@gmail.com>

commit d836ace65ee98d7079bc3c5afdbcc0e27dca20a3 upstream.

DSA expects the host_dev pointer to be the device structure associated
with the MDIO bus controller driver. First commit breaking that was
c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
driver"), and then, it got completely under the radar for a while.

Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/plat-orion/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -495,7 +495,7 @@ void __init orion_ge00_switch_init(struc
 
 	d->netdev = &orion_ge00.dev;
 	for (i = 0; i < d->nr_chips; i++)
-		d->chip[i].host_dev = &orion_ge00_shared.dev;
+		d->chip[i].host_dev = &orion_ge_mvmdio.dev;
 	orion_switch_device.dev.platform_data = d;
 
 	platform_device_register(&orion_switch_device);


Patches currently in stable-queue which might be from f.fainelli@gmail.com are

queue-4.2/arm-orion-fix-dsa-platform-device-after-mvmdio-conversion.patch

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
  2015-11-06  5:54 Patch "ARM: orion: Fix DSA platform device after mvmdio conversion" has been added to the 4.2-stable tree gregkh
@ 2015-11-06 19:31 ` Florian Fainelli
  2015-11-06 19:37   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2015-11-06 19:31 UTC (permalink / raw)
  To: stable; +Cc: linux-kernel, gregkh, fvdw, gregory.clement, Florian Fainelli

DSA expects the mii_bus pointer to be the device structure associated
with the MDIO bus controller driver. First commit breaking that was
c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
driver"), and then, it got completely under the radar for a while.

Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
CC: stable@vger.kernel.org
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Greg,

This is the patch for kernels 3.10 through 3.17, thanks!

 arch/arm/plat-orion/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c
index 3ec6e8e8d368..3f02575e4cc8 100644
--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -499,7 +499,7 @@ void __init orion_ge00_switch_init(struct dsa_platform_data *d, int irq)
 
 	d->netdev = &orion_ge00.dev;
 	for (i = 0; i < d->nr_chips; i++)
-		d->chip[i].mii_bus = &orion_ge00_shared.dev;
+		d->chip[i].mii_bus = &orion_ge_mvmdio.dev;
 	orion_switch_device.dev.platform_data = d;
 
 	platform_device_register(&orion_switch_device);
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
  2015-11-06 19:31 ` [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion Florian Fainelli
@ 2015-11-06 19:37   ` Greg KH
  2015-11-06 21:18     ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2015-11-06 19:37 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: stable, linux-kernel, fvdw, gregory.clement

On Fri, Nov 06, 2015 at 11:31:30AM -0800, Florian Fainelli wrote:
> DSA expects the mii_bus pointer to be the device structure associated
> with the MDIO bus controller driver. First commit breaking that was
> c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
> driver"), and then, it got completely under the radar for a while.
> 
> Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
> Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
> CC: stable@vger.kernel.org
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> Greg,
> 
> This is the patch for kernels 3.10 through 3.17, thanks!

What is the git commit id of this in Linus's tree?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
  2015-11-06 19:37   ` Greg KH
@ 2015-11-06 21:18     ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2015-11-06 21:18 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, linux-kernel, fvdw, gregory.clement

On 06/11/15 11:37, Greg KH wrote:
> On Fri, Nov 06, 2015 at 11:31:30AM -0800, Florian Fainelli wrote:
>> DSA expects the mii_bus pointer to be the device structure associated
>> with the MDIO bus controller driver. First commit breaking that was
>> c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
>> driver"), and then, it got completely under the radar for a while.
>>
>> Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
>> Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
>> CC: stable@vger.kernel.org
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>> ---
>> Greg,
>>
>> This is the patch for kernels 3.10 through 3.17, thanks!
> 
> What is the git commit id of this in Linus's tree?
>

Upstream commit is d836ace65ee98d7079bc3c5afdbcc0e27dca20a3 ("ARM:
orion: Fix DSA platform device after mvmdio conversion").
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-06 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  5:54 Patch "ARM: orion: Fix DSA platform device after mvmdio conversion" has been added to the 4.2-stable tree gregkh
2015-11-06 19:31 ` [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion Florian Fainelli
2015-11-06 19:37   ` Greg KH
2015-11-06 21:18     ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).