summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup, remove unnecessary masking etc... bump to v5HEADmasterBenjamin Herrenschmidt2018-07-253-30/+39
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binaryBenjamin Herrenschmidt2018-07-201-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Don't pause when doing continuous clockingBenjamin Herrenschmidt2018-07-202-2/+1
| | | | | | On POWER8, the SBE is too sensitive to clock fluctuations Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Quiet BUSY results and optional LLMODE hacksBenjamin Herrenschmidt2018-07-021-7/+26
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distribution to v3Benjamin Herrenschmidt2018-07-021-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Bump FW versionBenjamin Herrenschmidt2018-07-021-1/+1
|
* Dummy clocks can return errorsBenjamin Herrenschmidt2018-07-021-2/+7
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Re-enable same/relative addresses checking in test codeBenjamin Herrenschmidt2018-07-021-2/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix interrupt maskingBenjamin Herrenschmidt2018-07-021-2/+2
| | | | | | Using the wrong bits in SR isn't a very good idea Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add new binary distribution for API 2 FWBenjamin Herrenschmidt2018-06-291-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* WIP non-system-specific FWBenjamin Herrenschmidt2018-06-2812-229/+454
|
* Fix MakefileBenjamin Herrenschmidt2018-06-281-1/+1
|
* Update binariesrelease-v2Benjamin Herrenschmidt2018-06-183-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Do not rely on interrupts on AST2400Benjamin Herrenschmidt2018-06-183-8/+24
| | | | | | | It doesn't have the SW interrupt triggers. Use NOP loops instead to pace ourselves when waiting for arbitration Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add Palmetto binary distributionBenjamin Herrenschmidt2018-06-131-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add clock count in debug modeBenjamin Herrenschmidt2018-06-132-1/+9
| | | | | | Allows to verify that continuous clocking is working Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add palmetto variant of the test codeBenjamin Herrenschmidt2018-06-133-51/+234
| | | | | | It does the magic to boot the host Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add palmetto definition fileBenjamin Herrenschmidt2018-06-132-0/+16
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add continuous clocking optionBenjamin Herrenschmidt2018-06-132-3/+16
| | | | | | For P8 CFAM without async mode Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add dummy extra dummy read machine optionBenjamin Herrenschmidt2018-06-131-0/+3
| | | | | | It seems to be necessary on the AST2400 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-121-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Remove obsolete TODO listBenjamin Herrenschmidt2018-06-121-10/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Improve dependency in MakefileBenjamin Herrenschmidt2018-06-121-5/+5
| | | | | | It was missing the dependency on the cf-fsi-fw.h file Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add licenceBenjamin Herrenschmidt2018-06-126-0/+363
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-121-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Export CF boot time configBenjamin Herrenschmidt2018-06-122-0/+8
| | | | | | For diagnostics purposes Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Read back irq ack register before returningBenjamin Herrenschmidt2018-06-121-0/+1
| | | | | | | Stores may be asynchronous, I'm not entirely certain what ordering the CF provides with the subsequent read of the command in SRAM, so ensure the store did make it by reading back first.
* Update binary distributionBenjamin Herrenschmidt2018-06-121-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix interrupt raceBenjamin Herrenschmidt2018-06-121-16/+7
| | | | | | | | | | | | | | | | | | | | The current sequence is possible in the main command loop and in the arbitration sequence: - STOP enables interrupt and stops execution - Interrupt occurs (stale from previous command) - No command (or arbitration response) - Command is written - Interrupt occurs again, is taken, does nothing - STOP executes, doesn't wake up We need to ensure that we only take the interrupt on STOP, so we need to re-mask after every STOP. (We could alternatively modify the SR in the interrupt stack to return from the handler with IRQs disabled but this is easier). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-121-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Don't clobber d0 in interruptsBenjamin Herrenschmidt2018-06-121-0/+5
| | | | | | And keep them masked during breaks Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-111-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* When GPIO trans is cached, we need to reload after arbitrationBenjamin Herrenschmidt2018-06-111-1/+3
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-111-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Use a separate "started" flagBenjamin Herrenschmidt2018-06-113-3/+4
| | | | | | | 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-113-2/+19
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update binary distributionBenjamin Herrenschmidt2018-06-111-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix tag extractionBenjamin Herrenschmidt2018-06-111-1/+1
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Rework interfacesBenjamin Herrenschmidt2018-06-113-77/+122
| | | | | | | | | | | | | | | 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>
* Fixup some commentsBenjamin Herrenschmidt2018-06-111-2/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Don't reload trans GPIO when cachedBenjamin Herrenschmidt2018-06-111-3/+10
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Make sure we are fully PC relativeBenjamin Herrenschmidt2018-06-112-2/+2
| | | | | | | | With of course the notable exception of the exception vectors, but this will make it easier should we want to relocate the code. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Rework/shrink the "bad exceptions" stubsBenjamin Herrenschmidt2018-06-111-7/+12
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Move stack down into the code sectionBenjamin Herrenschmidt2018-06-111-2/+9
| | | | | | | This will make it easier to share the reserved memory from Linux as the ucode is now fully self contained. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* More TODOBenjamin Herrenschmidt2018-06-101-0/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Update distributed binaryBenjamin Herrenschmidt2018-06-101-0/+0
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add TODO listBenjamin Herrenschmidt2018-06-101-0/+8
|
* sync with kernel codeBenjamin Herrenschmidt2018-06-101-3/+7
|
* Fix typo breaking RomulusBenjamin Herrenschmidt2018-06-101-1/+1
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Deal with arbitration at startupBenjamin Herrenschmidt2018-06-081-3/+15
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud