Re: Terga 30 CPI Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, try setting bit 2 (i.e. third bit) of AFI_CONFIGURATION

On 11/21/2016 06:59 PM, Mikko Perttunen wrote:
On 11/21/2016 06:10 PM, Lamar Hansford wrote:
Hello,
I am using a Terga 30 with multiple PCIe cards.  I am experiencing a
hard (non-recoverable) lock-up which occurs whenever the following
wr/rd sequence is followed:
* wr(a) -> rd(a)

Where you write then immediately read the same address.  Validated by
GPIO write before and after (2nd GPIO change never happens).

I have removed this sequence from my driver (ath9k) and the device is
stable for days with a single card.  However, when (multiple cards are
added (same type) the lock-up still occurs.

It appears that the AXI bus is hung, preventing execution by any of
the cores.
I see that there is a register FPCI_TIMEOUT defined in the spec.  I
hope that by enabling the bus timeout I can get the system to
gracefully recover.  But I cannot determine which register location it
is mapped to.

The Tegra124 manual puts it at 0xd8, and other addresses around it seem
to match ones in the driver, so you might try that. The Tegra124 manual
also has the descriptions for the bits (31 and 19..0) swapped which does
make more sense. No idea what it's supposed to do, really :)


* Is this an internally mapped setting?
* If not what register?  Is there a way to set this

I do see where the interrupt can be enabled but not the FPCI Timeout
register itself (section 32.4.1.1).

Any help would be appreciated,
-Lamar

Cheers,
Mikko.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux