All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/2] Couple of Tegra2 PCIe fixes(?)
@ 2012-03-06  8:45 ` Dmitry Artamonow
  0 siblings, 0 replies; 51+ messages in thread
From: Dmitry Artamonow @ 2012-03-06  8:45 UTC (permalink / raw)
  To: linux-tegra
  Cc: Stephen Warren, Dmitry Artamonow, Thierry Reding, linux-kernel,
	Colin Cross, Mike Rapoport, Olof Johansson, linux-arm-kernel

These are more of RFC, because I can't test if 1/2 is really fixes anything,
and not sure how much 2/2 is needed - maybe error it fixes happens just in
my setup (and also I'm not sure if 2 seconds is a good value for timeout,
because I have no idea, how much time it takes for PLL to lock when everything)
But anyway...

While trying to make PCIe work on Harmony board, I've noticed
that pinmux groups for PCIe related signals are tristated, which 
looked suspicious. So I fixed that - that's the patch 1/2.

Sadly, even with this fix and 3.3v regulator patch[1] applied, PCIe still
doesn't work for me. Usually driver just loops infinitely in PLL lock
waiting code (that was the reason for writing patch 2/2 in this
mini-series). Couple of times I observed that after about 20-30 seconds of
waiting it passed PLL lock test and continue further, but then it failed to
detect a link with PCIe card. And I can't even reproduce this anymore.

Does anyone have working PCIe on Harmony? Can you please share the details
of your setup - what bootloader are you using, which version of kernel,
some additional patches maybe? Is there some secret tricks which are needed?
I've tried several combinations of different kernels and bootloaders, but
still can't find even a one which works.

[1] http://www.spinics.net/lists/linux-tegra/msg04148.html

Dmitry Artamonow (2):
  arm/tegra: fix harmony pinmux for PCIe
  arm/tegra: add timeout to PCIe PLL lock detection loop

 arch/arm/mach-tegra/board-harmony-pinmux.c |    6 +++---
 arch/arm/mach-tegra/pcie.c                 |   14 +++++++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

-- 
1.7.5.1.300.gc565c

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

end of thread, other threads:[~2012-03-18 17:27 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-06  8:45 [PATCH/RFC 0/2] Couple of Tegra2 PCIe fixes(?) Dmitry Artamonow
2012-03-06  8:45 ` Dmitry Artamonow
2012-03-06  8:45 ` Dmitry Artamonow
2012-03-06  8:45 ` [PATCH/RFC 1/2] arm/tegra: fix harmony pinmux for PCIe Dmitry Artamonow
2012-03-06  8:45   ` Dmitry Artamonow
2012-03-06  8:45   ` Dmitry Artamonow
2012-03-06 16:55   ` Stephen Warren
2012-03-06 16:55     ` Stephen Warren
2012-03-06 16:55     ` Stephen Warren
2012-03-06  8:45 ` [PATCH/RFC 2/2] arm/tegra: add timeout to PCIe PLL lock detection loop Dmitry Artamonow
2012-03-06  8:45   ` Dmitry Artamonow
2012-03-06  8:45   ` Dmitry Artamonow
     [not found]   ` <1331023544-6439-3-git-send-email-mad_soft-aPYA7nAdAYY@public.gmane.org>
2012-03-06  9:38     ` Andi
2012-03-06  9:38       ` Andi
2012-03-06  9:38       ` Andi
     [not found]       ` <CANndwHav6JcqNOuOXcD1dSNUmVYAV=MJ+y+ud6202q6Dh42Vgw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-06 11:19         ` Dmitry Artamonow
2012-03-06 11:19           ` Dmitry Artamonow
2012-03-06 11:19           ` Dmitry Artamonow
2012-03-07  6:38     ` Thierry Reding
2012-03-07  6:38       ` Thierry Reding
2012-03-07  6:38       ` Thierry Reding
2012-03-06 16:58   ` Stephen Warren
2012-03-06 16:58     ` Stephen Warren
2012-03-06 16:58     ` Stephen Warren
     [not found]     ` <4F56424A.3020305-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-03-06 19:09       ` Thierry Reding
2012-03-06 19:09         ` Thierry Reding
2012-03-06 19:09         ` Thierry Reding
2012-03-06 20:15       ` Dmitry Artamonow
2012-03-06 20:15         ` Dmitry Artamonow
2012-03-06 20:15         ` Dmitry Artamonow
2012-03-09 10:09         ` [PATCH v2 " Dmitry Artamonow
2012-03-09 10:09           ` Dmitry Artamonow
2012-03-09 10:09           ` Dmitry Artamonow
     [not found]           ` <1331287760-10546-1-git-send-email-mad_soft-aPYA7nAdAYY@public.gmane.org>
2012-03-12 18:09             ` Stephen Warren
2012-03-12 18:09               ` Stephen Warren
2012-03-12 18:09               ` Stephen Warren
     [not found]               ` <4F5E3BE7.4080207-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-03-12 19:30                 ` Dmitry Artamonow
2012-03-12 19:30                   ` Dmitry Artamonow
2012-03-12 19:30                   ` Dmitry Artamonow
2012-03-12 19:56                   ` Olof Johansson
2012-03-12 19:56                     ` Olof Johansson
2012-03-12 19:56                     ` Olof Johansson
     [not found]                     ` <CAOesGMi0aqCjLsJ5wWXwFVQL2T8wtUuE14rFZ9h7NKHXcWAoqQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-13  5:46                       ` [PATCH] arm/tegra: pcie: fix return value of function Dmitry Artamonow
2012-03-13  5:46                         ` Dmitry Artamonow
2012-03-13  5:46                         ` Dmitry Artamonow
     [not found]                         ` <1331617587-10714-1-git-send-email-mad_soft-aPYA7nAdAYY@public.gmane.org>
2012-03-13 19:36                           ` Stephen Warren
2012-03-13 19:36                             ` Stephen Warren
2012-03-13 19:36                             ` Stephen Warren
     [not found]                             ` <4F5FA1BB.5050002-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-03-18 17:27                               ` Olof Johansson
2012-03-18 17:27                                 ` Olof Johansson
2012-03-18 17:27                                 ` Olof Johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.