summaryrefslogtreecommitdiffstats
path: root/cf-fsi-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable same/relative addresses checking in test codeBenjamin Herrenschmidt2018-07-021-2/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* WIP non-system-specific FWBenjamin Herrenschmidt2018-06-281-8/+98
|
* Add palmetto variant of the test codeBenjamin Herrenschmidt2018-06-131-44/+219
| | | | | | It does the magic to boot the host Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add licenceBenjamin Herrenschmidt2018-06-121-0/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Use a separate "started" flagBenjamin Herrenschmidt2018-06-111-1/+1
| | | | | | | Relying on the command-status is dicey, the GPIO arbitration code needs a more reliable way to know we are actually running Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add marker at end of tracesBenjamin Herrenschmidt2018-06-111-1/+6
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Rework interfacesBenjamin Herrenschmidt2018-06-111-18/+20
| | | | | | | | | | | | | | | We now use a portion of the ucode itself for version information and to configure the base of SRAM, this will allow the driver to use a pool allocator with less constraints. We put the status register as part of the command register, this speeds things up a bit and remove the need to clear it from the host. We also turn some SRAM stores from byte to long stores, they seem to be faster (still room for improvement) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* sync with kernel codeBenjamin Herrenschmidt2018-06-101-3/+7
|
* Add GPIO arbitration testBenjamin Herrenschmidt2018-06-071-1/+110
| | | | | | Needs to be explicitely enabled Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix commentBenjamin Herrenschmidt2018-06-061-1/+1
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Cleanup starting up, add trace flags to API versionBenjamin Herrenschmidt2018-06-031-12/+15
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add arbitration mechanismBenjamin Herrenschmidt2018-06-031-1/+1
| | | | | | | This will be used by the kernel GPIO driver to synchronize with the CF when accessing GPIO shared with FSI. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Use 6 for echo/send delayBenjamin Herrenschmidt2018-06-031-1/+3
| | | | | | seems to be the best value for performance Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add break support and change tSendDelay/tEchoDelayBenjamin Herrenschmidt2018-06-031-0/+61
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix problems with write commands (CRC incorrect and endian issues)Benjamin Herrenschmidt2018-06-031-4/+7
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Move command processing to a helperBenjamin Herrenschmidt2018-06-031-18/+45
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Shrink trace dumpBenjamin Herrenschmidt2018-06-031-1/+1
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add (untested) write supportBenjamin Herrenschmidt2018-06-031-10/+14
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix a number of problems with the test codeBenjamin Herrenschmidt2018-06-031-71/+25
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Configure send/echo delayBenjamin Herrenschmidt2018-06-031-0/+4
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Move SRAM layout to a common .h fileBenjamin Herrenschmidt2018-06-031-35/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix variable aliasing in test caseBenjamin Herrenschmidt2018-06-031-5/+5
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial importBenjamin Herrenschmidt2018-06-021-0/+664
OpenPOWER on IntegriCloud