linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix i2c bus hang on A0 version of the Armada XP SoCs
@ 2014-01-03  9:59 Gregory CLEMENT
       [not found] ` <1388743185-24822-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2014-01-03  9:59 ` [PATCH v2 2/2] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs Gregory CLEMENT
  0 siblings, 2 replies; 37+ messages in thread
From: Gregory CLEMENT @ 2014-01-03  9:59 UTC (permalink / raw)
  To: Wolfram Sang, linux-i2c, Jason Cooper, Andrew Lunn,
	Gregory CLEMENT
  Cc: Thomas Petazzoni, Ezequiel Garcia, Sebastian Hesselbarth,
	linux-arm-kernel, stable

Hi,

This the 2nd version of the series fixing the i2c bus hang on A0
version of the Armada XP SoCs. It occurred on the early release of the
OpenBlocks AX3-4 boards. Indeed the first variants of Armada XP SoCs
(A0 stepping) have issues related to the i2c controller which prevent
to use the offload mechanism and lead to a kernel hang during boot.

The first patch add a mean to detect the SoCs version at run-time and
the second one use this feature in the driver.

These 2 patches should be applied on 3.13-rc and on stable kernel 3.12
as it fixes a regression introduce by the commit 930ab3d403ae "i2c:
mv64xxx: Add I2C Transaction Generator support".

The first patch could be latter be extend to also be used with dove,
kirkwood, orion5x and mv78x00 when there will be merged in mvebu.

Thanks,

Gregory

Changelog:

v1 -> v2:

- Changed the way to test the return of the function mvebu_get_soc_id
  in order to make it clearer.

- Removed the superfluous parentheses

- Added Wolfram's acked-by on the 2nd patch

Gregory CLEMENT (2):
  ARM: mvebu: Add support to get the ID and the revision of a SoC
  i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

 arch/arm/mach-mvebu/Makefile       |   2 +-
 arch/arm/mach-mvebu/mvebu-soc-id.c | 111 +++++++++++++++++++++++++++++++++++++
 drivers/i2c/busses/i2c-mv64xxx.c   |  11 +++-
 include/linux/mvebu-soc-id.h       |  32 +++++++++++
 4 files changed, 154 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-mvebu/mvebu-soc-id.c
 create mode 100644 include/linux/mvebu-soc-id.h

-- 
1.8.1.2

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

end of thread, other threads:[~2014-01-07 20:50 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03  9:59 [PATCH v2 0/2] Fix i2c bus hang on A0 version of the Armada XP SoCs Gregory CLEMENT
     [not found] ` <1388743185-24822-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-01-03  9:59   ` [PATCH v2 1/2] ARM: mvebu: Add support to get the ID and the revision of a SoC Gregory CLEMENT
2014-01-03 14:47     ` Andrew Lunn
2014-01-03 14:51       ` Gregory CLEMENT
     [not found]         ` <52C6CE7E.5010800-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-01-03 15:13           ` Gregory CLEMENT
2014-01-03 16:41             ` Andrew Lunn
2014-01-03 19:30               ` Gregory CLEMENT
     [not found]     ` <1388743185-24822-2-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-01-03 18:48       ` Thomas Petazzoni
2014-01-03 19:25         ` Gregory CLEMENT
2014-01-03 18:59     ` Jason Gunthorpe
2014-01-03 19:35       ` Gregory CLEMENT
2014-01-05 14:25     ` Arnd Bergmann
2014-01-05 15:40       ` Andrew Lunn
     [not found]         ` <20140105154023.GA2048-g2DYL2Zd6BY@public.gmane.org>
2014-01-05 17:27           ` Jason Gunthorpe
     [not found]             ` <20140105172756.GA11280-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-01-05 17:37               ` Sebastian Hesselbarth
2014-01-05 23:07                 ` Jason Gunthorpe
2014-01-05 23:12                   ` Sebastian Hesselbarth
     [not found]                     ` <52C9E6D0.3000406-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 23:40                       ` Jason Gunthorpe
2014-01-06  0:05                         ` Sebastian Hesselbarth
2014-01-06  0:17                           ` Andrew Lunn
     [not found]                             ` <20140106001709.GD4093-g2DYL2Zd6BY@public.gmane.org>
2014-01-06  9:55                               ` Gregory CLEMENT
2014-01-06 10:10                                 ` Gregory CLEMENT
2014-01-05 19:17           ` Arnd Bergmann
     [not found]             ` <201401052017.10982.arnd-r2nGTMty4D4@public.gmane.org>
2014-01-05 23:51               ` Andrew Lunn
2014-01-06 15:37                 ` Arnd Bergmann
     [not found]                   ` <201401061637.28194.arnd-r2nGTMty4D4@public.gmane.org>
2014-01-06 16:24                     ` Andrew Lunn
     [not found]                       ` <20140106162442.GB13111-g2DYL2Zd6BY@public.gmane.org>
2014-01-07 14:41                         ` Arnd Bergmann
2014-01-06 10:28       ` Gregory CLEMENT
2014-01-03  9:59 ` [PATCH v2 2/2] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs Gregory CLEMENT
     [not found]   ` <1388743185-24822-3-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-01-03 12:20     ` Gregory CLEMENT
2014-01-03 18:49   ` Thomas Petazzoni
2014-01-03 19:31     ` Gregory CLEMENT
2014-01-05 14:33   ` Arnd Bergmann
     [not found]     ` <201401051533.58931.arnd-r2nGTMty4D4@public.gmane.org>
2014-01-06  9:09       ` Gregory CLEMENT
     [not found]         ` <52CA72BF.10604-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-01-07  9:03           ` Arnd Bergmann
     [not found]             ` <201401071003.31309.arnd-r2nGTMty4D4@public.gmane.org>
2014-01-07 13:17               ` Gregory CLEMENT
2014-01-07 20:50                 ` Arnd Bergmann

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).