driver-knc-spi-fpga.c


Log

Author Commit Date CI Message
Vitalii Demianets ff0dbafe 2013-12-22T13:03:50 knc: Bugfix - good shares wrongly reported as HW errors. Root cause of the problem: several work items were assigned the same work_id in the active works queue of the knc driver. Thus when good nonce report arrived from the FPGA, wrong work item was picked up from the queue, and submit_nonce evaluated that as an error. Fix: Limit the work_id counter update rate. Update it only to the number of works actually consumed by the FPGA, not to the number of works send.
Vitalii Demianets 7e14fcb2 2013-12-18T15:09:46 knc: Do not include variable "last minute" data into the "last hour" per-core stats
Vitalii Demianets ecfd2f4d 2013-12-17T15:41:19 knc: Make per-core statistics available through API
Vitalii Demianets 08b589a3 2013-10-28T14:09:18 Add two tunable parameters for cores Disable Policy (at the moment they are tunable at compile time only)
Henrik Nordstrom e872e7d6 2013-11-04T02:47:08 Revert "Only count successful nonces as hashrate in the knc driver." The original hashrate calculation is more correct, counting hashing completed notifications, not found shares, even if slightly inflated by hw errors in some cases. A perhaps better way to show effective hash rate is to present WU as a hash rate. If WU and hardware reported hash rate differs too much over a reasonable period of time then something is not right. This reverts commit 32ec3628219bfcbf1d964019302a9f420a7a9cab.
Con Kolivas b542f523 2013-10-29T22:08:00 Add copyright notice to knc driver.
Con Kolivas 6e3bee0d 2013-10-29T21:31:44 Trivial style changes to knc driver.
Con Kolivas e6843588 2013-10-28T14:40:23 Use a mutex to protect data in the knc structure, to prevent loading more work during a flush, and unlock and return to main between calls to get_queued_work.
Con Kolivas ac7dc468 2013-10-28T14:27:57 Use the existing device_data for knc state data.
Con Kolivas 1388b841 2013-10-28T12:06:48 Revert "Process multiple responses in the knc driver." This reverts commit 76af3bf9a3ee2a3f0be5280ebe5f42ab4de100c9.
Con Kolivas 32ec3628 2013-10-28T12:04:15 Only count successful nonces as hashrate in the knc driver.
Con Kolivas 76af3bf9 2013-10-28T12:01:54 Process multiple responses in the knc driver.
Con Kolivas 5467dfe7 2013-10-28T11:55:12 Fix trivial warnings in knc driver.
Vitalii Demianets 6d4a03ad 2013-10-18T15:16:11 Better HW error count; disable permanently those cores which fail often
Vitalii Demianets 53570ae8 2013-10-02T03:49:47 KnC driver: knc-spi-fpga ASIC driver This driver talks to KnCMiner controller via SPI Protocol specification is available at https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md