ARM: mvebu: SoC changes for v3.17
Guys,
Here's most of the SoC changes for mvebu so far. It's looking to be a slow cycle for us this time around (famous last words ;-) ).
The only unusual item here is the setup file for the kirkwood netxbig board. Andrew is working on a DT binding for the LEDs, but it is non-trivial. By accepting this now, we can delete mach-kirkwood/, which is a good thing. :) I hope to see patches from Andrew on this soon.
As usual, based on v3.16-rc1, no dependencies, been in -next several days.
Please pull.
thx,
Jason.
The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f:
Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)
are available in the git repository at:
git://git.infradead.org/linux-mvebu.git tags/mvebu-soc-3.17
for you to fetch changes up to 65fcc462095b6f3b5a232c3ead7f49243f9aece4:
ARM: mvebu: Staticize mvebu_cpu_reset_init (2014-06-24 12:59:53 +0000)
----------------------------------------------------------------
mvebu SoC changes for v3.17
- kirkwood
- add setup file for netxbig LEDs (non-trivial DT binding doesn't exist yet)
- mvebu
- staticize where needed
- add CPU hotplug for Armada XP
- add public datasheet for Armada XP
- don't apply thermal quirk by default
- make Aramada 375 external abort logic a quirk
- update L2/PCIe deadlock workaround after L2CC cleanup
- get SoC ID from the system controller when possible
----------------------------------------------------------------
Andrew Lunn (1):
ARM: Kirkwood: Add setup file for netxbig LEDs
Ezequiel Garcia (1):
ARM: mvebu: Don't apply the thermal quirk if the SoC revision is unknown
Gregory CLEMENT (2):
ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
ARM: mvebu: Use system controller to get the soc id when possible
Sachin Kamat (3):
ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa
ARM: mvebu: Staticize armada_370_xp_cpu_pm_init
ARM: mvebu: Staticize mvebu_cpu_reset_init
Thomas Petazzoni (8):
ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static
ARM: mvebu: remove stub implementation of CPU hotplug on Armada 375/38x
ARM: mvebu: slightly refactor/rename PMSU idle related functions
ARM: mvebu: export PMSU idle enter/exit functions
ARM: mvebu: implement CPU hotplug support for Armada XP
Documentation: arm: add URLs to public datasheets for the Marvell Armada 370 SoC
ARM: mvebu: move Armada 375 external abort logic as a quirk
ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup
Documentation/arm/Marvell/README | 4 +- arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 2 +- arch/arm/mach-mvebu/armada-370-xp.h | 3 + arch/arm/mach-mvebu/board-v7.c | 42 +++++-- arch/arm/mach-mvebu/board.h | 5 + arch/arm/mach-mvebu/common.h | 3 +- arch/arm/mach-mvebu/cpu-reset.c | 2 +- arch/arm/mach-mvebu/hotplug.c | 31 ------ arch/arm/mach-mvebu/kirkwood.c | 3 + arch/arm/mach-mvebu/mvebu-soc-id.c | 21 +++- arch/arm/mach-mvebu/netxbig.c | 191 ++++++++++++++++++++++++++++++++ arch/arm/mach-mvebu/platsmp-a9.c | 5 +- arch/arm/mach-mvebu/platsmp.c | 48 ++++++++ arch/arm/mach-mvebu/pmsu.c | 17 +-- arch/arm/mach-mvebu/system-controller.c | 19 ++++ 16 files changed, 338 insertions(+), 65 deletions(-) delete mode 100644 arch/arm/mach-mvebu/hotplug.c create mode 100644 arch/arm/mach-mvebu/netxbig.c
Dear Jason Cooper,
Quoted 10 lines · Jason Cooper
----------------------------------------------------------------
mvebu SoC changes for v3.17- kirkwood
- add setup file for netxbig LEDs (non-trivial DT binding doesn't exist yet)- mvebu
- staticize where needed
- add CPU hotplug for Armada XP
- add public datasheet for Armada XP
It's actually Armada 370 that got a datasheet published.
Quoted 3 lines
- don't apply thermal quirk by default
- make Aramada 375 external abort logic a quirk
- update L2/PCIe deadlock workaround after L2CC cleanup
This patch is needed in 3.16, not in 3.17. They really are bug fixes, fixing a complete system deadlock under PCI load.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 10 lines · Thomas Petazzoni
Dear Jason Cooper,
Quoted 6 lines · Jason Cooper
----------------------------------------------------------------
mvebu SoC changes for v3.17- kirkwood
- add setup file for netxbig LEDs (non-trivial DT binding doesn't exist yet)
Quoted 6 lines
Quoted 4 lines
- mvebu
- staticize where needed
- add CPU hotplug for Armada XP
- add public datasheet for Armada XPIt's actually Armada 370 that got a datasheet published.
oops, I must've copied from the line above in my head. You are correct of course.
Quoted 6 lines
Quoted 3 lines
- don't apply thermal quirk by default
- make Aramada 375 external abort logic a quirk
- update L2/PCIe deadlock workaround after L2CC cleanupThis patch is needed in 3.16, not in 3.17. They really are bug fixes, fixing a complete system deadlock under PCI load.
crap. :( Ok, guys, please ignore this pull request and I'll send a new one with this done properly.
Thomas, you say 'patch', but you quote three. Should all three be in mvebu/fixes? Or, just the last one?
thx,
Jason.
Dear Jason Cooper,
(Adding Russell in Cc, to get the status of the "ARM: mm: add support for HW coherent systems in PL310 cache" patch)
Quoted 4 lines · Jason Cooper
Quoted 4 lines
Quoted 3 lines
- don't apply thermal quirk by default
- make Aramada 375 external abort logic a quirk
- update L2/PCIe deadlock workaround after L2CC cleanup
Quoted 8 lines
Quoted 2 lines
This patch is needed in 3.16, not in 3.17. They really are bug fixes, fixing a complete system deadlock under PCI load.
crap. :( Ok, guys, please ignore this pull request and I'll send a new one with this done properly.
Thomas, you say 'patch', but you quote three. Should all three be in mvebu/fixes? Or, just the last one?
Yeah, sorry, I wasn't clear. If you look back at what I sent in
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html ([PATCHv5 0/3] ARM: implement workaround for Cortex-A9/PL310/PCIe deadlock), there were three patches:
PATCH 1/3, "ARM: mm: add support for HW coherent systems in PL310 cache", for Russell. It has already been merged by Russell in "git-curr", as visible at
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8076/1.
I'm hoping this is scheduled for 3.16, because I need this patch for 3.16 to avoid the PCIe deadlock.
PATCH 2/3 and 3/3 are related, and the latter is needed to solve the PCIe deadlock, by using the new DT property made available in PATCH 1/3. PATCH 2/3 is ARM: mvebu: move Armada 375 external abort logic as a quirk and PATCH 3/3 is ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup.
All in all, I'm hoping for the series at
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html to fully show up in 3.16, because it's really related to fixing a serious PCIe deadlock (can be triggered in under a minute of PCIe usage).
Note that even though PCIe was supported in 3.15 for Armada 375/38x, the bug cannot be triggered because it requires SMP to be visible, and SMP support for 375 and 38x was only merged in 3.16. So there is no need for these patches to be marked for 3.15-stable. But clearly they are needed for 3.16.
Thanks!
Thomas Petazzoni
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 19 lines · Thomas Petazzoni
Quoted 4 lines · Jason Cooper
Quoted 4 lines
Quoted 3 lines
- don't apply thermal quirk by default
- make Aramada 375 external abort logic a quirk
- update L2/PCIe deadlock workaround after L2CC cleanupQuoted 8 lines
Quoted 2 lines
This patch is needed in 3.16, not in 3.17. They really are bug fixes, fixing a complete system deadlock under PCI load.
crap. :( Ok, guys, please ignore this pull request and I'll send a new one with this done properly.
Thomas, you say 'patch', but you quote three. Should all three be in mvebu/fixes? Or, just the last one?
Yeah, sorry, I wasn't clear. If you look back at what I sent in
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html ([PATCHv5 0/3] ARM: implement workaround for Cortex-A9/PL310/PCIe deadlock), there were three patches:
Quoted 6 lines
PATCH 1/3, "ARM: mm: add support for HW coherent systems in PL310 cache", for Russell. It has already been merged by Russell in "git-curr", as visible at
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8076/1.
I'm hoping this is scheduled for 3.16, because I need this patch for 3.16 to avoid the PCIe deadlock.
I'll move it in for the next -rc merge.
Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly improving, and getting towards what was expected from it.
Russell,
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines
PATCH 1/3, "ARM: mm: add support for HW coherent systems in PL310 cache", for Russell. It has already been merged by Russell in "git-curr", as visible at
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8076/1.
I'm hoping this is scheduled for 3.16, because I need this patch for 3.16 to avoid the PCIe deadlock.I'll move it in for the next -rc merge.
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Jason,
Quoted 18 lines · Thomas Petazzoni
Yeah, sorry, I wasn't clear. If you look back at what I sent in
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html ([PATCHv5 0/3] ARM: implement workaround for Cortex-A9/PL310/PCIe deadlock), there were three patches:PATCH 1/3, "ARM: mm: add support for HW coherent systems in PL310 cache", for Russell. It has already been merged by Russell in "git-curr", as visible at
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8076/1.
I'm hoping this is scheduled for 3.16, because I need this patch for 3.16 to avoid the PCIe deadlock.PATCH 2/3 and 3/3 are related, and the latter is needed to solve the PCIe deadlock, by using the new DT property made available in PATCH 1/3. PATCH 2/3 is ARM: mvebu: move Armada 375 external abort logic as a quirk and PATCH 3/3 is ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup.
Quoted 5 lines
All in all, I'm hoping for the series at
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html to fully show up in 3.16, because it's really related to fixing a serious PCIe deadlock (can be triggered in under a minute of PCIe usage).
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 3 lines · Thomas Petazzoni
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
It's in -rc3.
Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly improving, and getting towards what was expected from it.
Thomas,
Quoted 6 lines · Russell King - ARM Linux
Quoted 3 lines · Thomas Petazzoni
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
It's in -rc3.
Do you want me to do a topic branch on top of -rc3 for these or can I just throw them on mvebu/fixes? iow, is there a dep?
thx,
Jason.
Dear Jason Cooper,
Quoted 10 lines · Jason Cooper
Quoted 6 lines · Russell King - ARM Linux
Quoted 3 lines · Thomas Petazzoni
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
It's in -rc3.
Do you want me to do a topic branch on top of -rc3 for these or can I just throw them on mvebu/fixes? iow, is there a dep?
There's no build dependency with the patch pushed by Russell. The patch that went through Russell merely adds the support for a new DT property in the PL310 DT binding, and the two patches that should go through your tree use this new DT property. So there is really no build dependency between the two things.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 12 lines · Thomas Petazzoni
Dear Jason Cooper,
Quoted 8 lines · Jason Cooper
Quoted 6 lines · Russell King - ARM Linux
Quoted 3 lines · Thomas Petazzoni
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
It's in -rc3.
Quoted 8 lines
Quoted 2 lines
Do you want me to do a topic branch on top of -rc3 for these or can I just throw them on mvebu/fixes? iow, is there a dep?
There's no build dependency with the patch pushed by Russell. The patch that went through Russell merely adds the support for a new DT property in the PL310 DT binding, and the two patches that should go through your tree use this new DT property. So there is really no build dependency between the two things.
yup, right. Shame on me for not re-reviewing the patches first :)
thx,
Jason.
Quoted 28 lines · Thomas Petazzoni
Jason,
Quoted 18 lines · Thomas Petazzoni
Yeah, sorry, I wasn't clear. If you look back at what I sent in
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html ([PATCHv5 0/3] ARM: implement workaround for Cortex-A9/PL310/PCIe deadlock), there were three patches:PATCH 1/3, "ARM: mm: add support for HW coherent systems in PL310 cache", for Russell. It has already been merged by Russell in "git-curr", as visible at
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8076/1.
I'm hoping this is scheduled for 3.16, because I need this patch for 3.16 to avoid the PCIe deadlock.PATCH 2/3 and 3/3 are related, and the latter is needed to solve the PCIe deadlock, by using the new DT property made available in PATCH 1/3. PATCH 2/3 is ARM: mvebu: move Armada 375 external abort logic as a quirk and PATCH 3/3 is ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup.
Quoted 5 lines
All in all, I'm hoping for the series at
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html to fully show up in 3.16, because it's really related to fixing a serious PCIe deadlock (can be triggered in under a minute of PCIe usage).
Quoted 3 lines
Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
2 and 3 are now in mvebu/fixes.
thx,
Jason.
Dear Jason Cooper,
Quoted 11 lines · Jason Cooper
Quoted 9 lines
Quoted 5 lines
All in all, I'm hoping for the series at
https://www.mail-archive.com/devicetree at vger.kernel.org/msg30473.html to fully show up in 3.16, because it's really related to fixing a serious PCIe deadlock (can be triggered in under a minute of PCIe usage).Now that Russell is pushing PATCH 1/3 in the 3.16-rc cycle, can you push PATCH 2/3 and PATCH 3/3 pointed above into the 3.16-rc cycle as well?
2 and 3 are now in mvebu/fixes.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Guys,
Here's most of the SoC changes for mvebu so far. It's looking to be a slow cycle for us this time around (famous last words ;-) ).
The only unusual item here is the setup file for the kirkwood netxbig board. Andrew is working on a DT binding for the LEDs, but it is non-trivial. By accepting this now, we can delete mach-kirkwood/, which is a good thing. :) I hope to see patches from Andrew on this soon.
As usual, based on v3.16-rc1, no dependencies, been in -next several days.
Changes for V2: move three patches out of mvebu/soc and into mvebu/fixes for inclusion in v3.16.
Please pull.
thx,
Jason.
The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f:
Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)
are available in the git repository at:
git://git.infradead.org/linux-mvebu.git tags/mvebu-soc-3.17
for you to fetch changes up to e65714740d65237c40878b63acad6bf921481974:
ARM: mvebu: Staticize mvebu_cpu_reset_init (2014-06-30 17:41:04 +0000)
----------------------------------------------------------------
mvebu SoC changes for v3.17
- kirkwood
- add setup file for netxbig LEDs (non-trivial DT binding doesn't exist yet)
- mvebu
- staticize where needed
- add CPU hotplug for Armada XP
- add public datasheet for Armada 370
- don't apply thermal quirk by default
- get SoC ID from the system controller when possible
----------------------------------------------------------------
Andrew Lunn (1):
ARM: Kirkwood: Add setup file for netxbig LEDs
Ezequiel Garcia (1):
ARM: mvebu: Don't apply the thermal quirk if the SoC revision is unknown
Gregory CLEMENT (2):
ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
ARM: mvebu: Use system controller to get the soc id when possible
Sachin Kamat (3):
ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa
ARM: mvebu: Staticize armada_370_xp_cpu_pm_init
ARM: mvebu: Staticize mvebu_cpu_reset_init
Thomas Petazzoni (6):
ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static
ARM: mvebu: remove stub implementation of CPU hotplug on Armada 375/38x
ARM: mvebu: slightly refactor/rename PMSU idle related functions
ARM: mvebu: export PMSU idle enter/exit functions
ARM: mvebu: implement CPU hotplug support for Armada XP
Documentation: arm: add URLs to public datasheets for the Marvell Armada 370 SoC
Documentation/arm/Marvell/README | 4 +- arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 2 +- arch/arm/mach-mvebu/armada-370-xp.h | 3 + arch/arm/mach-mvebu/board-v7.c | 13 ++- arch/arm/mach-mvebu/board.h | 5 + arch/arm/mach-mvebu/common.h | 3 +- arch/arm/mach-mvebu/cpu-reset.c | 2 +- arch/arm/mach-mvebu/hotplug.c | 31 ------ arch/arm/mach-mvebu/kirkwood.c | 3 + arch/arm/mach-mvebu/mvebu-soc-id.c | 21 +++- arch/arm/mach-mvebu/netxbig.c | 191 ++++++++++++++++++++++++++++++++ arch/arm/mach-mvebu/platsmp-a9.c | 5 +- arch/arm/mach-mvebu/platsmp.c | 48 ++++++++ arch/arm/mach-mvebu/pmsu.c | 17 +-- arch/arm/mach-mvebu/system-controller.c | 19 ++++ 16 files changed, 319 insertions(+), 55 deletions(-) delete mode 100644 arch/arm/mach-mvebu/hotplug.c create mode 100644 arch/arm/mach-mvebu/netxbig.c
Quoted 22 lines · Jason Cooper
Guys,
Here's most of the SoC changes for mvebu so far. It's looking to be a slow cycle for us this time around (famous last words ;-) ).
The only unusual item here is the setup file for the kirkwood netxbig board. Andrew is working on a DT binding for the LEDs, but it is non-trivial. By accepting this now, we can delete mach-kirkwood/, which is a good thing. :) I hope to see patches from Andrew on this soon.
As usual, based on v3.16-rc1, no dependencies, been in -next several days.
Changes for V2: move three patches out of mvebu/soc and into mvebu/fixes for inclusion in v3.16.
Please pull.
thx,
Jason.
Quoted 7 lines
The following changes since commit
7171511eaec5bf23fb06078f59784a3a0626b38f:Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)
are available in the git repository at:
git://git.infradead.org/linux-mvebu.gittags/mvebu-soc-3.17
Merged.
-Olof