driver-bflsc.c


Log

Author Commit Date CI Message
Con Kolivas 890e4401 2013-12-10T10:04:11 Increase the BFLSC overtemp to 75 for fanspeed to maximum.
Con Kolivas a7fd6476 2013-12-10T09:38:41 Set bflsc cutoff temperature to 85 degrees and throttle 3 degrees below the cutoff temperature.
Con Kolivas d61bf845 2013-11-30T23:38:15 Use vcc2 in bflsc voltage displayed.
Con Kolivas ce359613 2013-11-30T23:19:21 Increment per core errors on false nonces in bflsc and add per core statistics to api stats, removing debugging.
Con Kolivas 47fd1bae 2013-11-30T23:10:57 Store a per-core nonce and hw error count for bflsc.
Con Kolivas 84c74f91 2013-11-30T23:38:15 Use vcc2 in bflsc voltage displayed.
Con Kolivas 46cebb98 2013-11-30T23:19:21 Increment per core errors on false nonces in bflsc and add per core statistics to api stats, removing debugging.
Con Kolivas e65ad489 2013-11-30T23:10:57 Store a per-core nonce and hw error count for bflsc.
Con Kolivas 0e60ca30 2013-11-22T23:21:44 Make usb_detect return the cgpu associated with it to check if it succeeds to decide on whether to increment the device count or not.
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
ckolivas 680f014c 2013-10-18T14:58:33 Simplify queued hashtable by storing unqueued work separately in a single pointer.
Kano dfa849ab 2013-10-18T10:42:43 bflsc use getinfo chip parallelization if it is present
Kano 4aa84abb 2013-10-18T10:30:16 bflsc - fix brackets so [Chips] isn't always null
Kano addb8481 2013-10-15T02:02:30 bflsc - also allow ' 0' in DEVICES IN CHAIN
Kano 8455cc3f 2013-10-15T01:55:31 bflsc - allow a 0 in DEVICES IN CHAIN
Kano dd1f67fe 2013-10-15T02:02:30 bflsc - also allow ' 0' in DEVICES IN CHAIN
Kano 1f166d99 2013-10-15T01:55:31 bflsc - allow a 0 in DEVICES IN CHAIN
ckolivas 6d747123 2013-09-28T15:11:06 Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Kano a9faec4a 2013-09-14T01:20:21 change drivers to use usb_interface() - required for multi interface change
Kano 5520206a 2013-08-31T22:52:21 bflsc ensure getinfo cannot overflow it's storage buffer
Con Kolivas 69a2078e 2013-08-31T15:13:57 Revert to old custom tolines function since strtok_r is not portable.
Kano 42bb607a 2013-08-31T14:03:57 bflsc remove unused commented out code
Kano 3aefcce4 2013-08-31T13:56:50 logging - code mistake
Kano 0d4edbe9 2013-08-31T13:41:37 logging - applogsiz() for large messages
Con Kolivas 1c66459c 2013-08-30T23:58:15 Include string.h in bflsc driver.
Con Kolivas 4c451adc 2013-08-30T23:46:32 Get rid of linear removal of spaces in bflsc text parsing and use strstr throughout instead.
Con Kolivas a503ba8b 2013-08-30T23:03:03 Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls.
Con Kolivas 8d99a449 2013-08-30T22:38:56 Show how small a too small result in bflsc is.
Con Kolivas 83a8c132 2013-08-30T21:42:38 Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line.
Con Kolivas 1403f4dd 2013-08-30T21:40:10 Only process nonces in bflsc is the breakdown function succeeds.
Con Kolivas 34d977c8 2013-08-30T21:17:42 Revert "Ignore inprocess message when retrieved out of sync in bflsc while processing nonces." This reverts commit 791a8f65ba7169f9bc7246dfb0966f3cba0449e5.
Con Kolivas 791a8f65 2013-08-30T21:11:20 Ignore inprocess message when retrieved out of sync in bflsc while processing nonces.
Con Kolivas 2853a5d9 2013-08-30T20:39:23 Temporarily revert inprocess parsing in bflsc pending fixes.
Con Kolivas 8aa50e19 2013-08-30T20:34:40 Ignore zero count messages in bflsc instead of trying to parse them.
Con Kolivas 2061e97c 2013-08-30T20:31:57 Return ok in tolines when it doesn't match inprocess message for bflsc.
Con Kolivas 0f712d51 2013-08-30T20:29:00 Remove inprocess line instead of deleting all following responses in bflsc.
Con Kolivas 9a867029 2013-08-30T20:24:29 Ignore responses from bflsc as INPROCESS
Con Kolivas cb914ab5 2013-08-30T16:26:00 Change ok testing logic in breakdown() in bflsc and return if not ok at any stage.
Con Kolivas 6ff7893f 2013-08-30T16:14:25 Check the return value of tolines in bflsc driver.
Con Kolivas b0fe14d4 2013-08-30T16:13:01 Use strtok to parse lines in bflsc driver.
Kano 6055a378 2013-08-28T07:59:09 bflsc xlinkstr use snprintf
Con Kolivas e17a9452 2013-08-27T20:31:33 Use take_queued_work_bymidstate in the bflsc driver to avoid the rare chance repeated results come back from the same work item.
Con Kolivas eeac9d81 2013-08-20T19:23:49 Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
Con Kolivas bedd8eee 2013-08-19T21:52:07 Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable." This reverts commit 974319454795979dad013c705ca9d53aae67668d. Fine now that sleep works properly with the longer sleep.
Con Kolivas fb66e8b7 2013-08-19T21:13:23 Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work
Con Kolivas dddc2d1e 2013-08-19T17:59:59 Revert "Reuse times extracted from the clock in bflsc_get_results." This reverts commit 1d8235334d0bac696e91dc246af2aab9f1d35d36. Monotonic clock does not return the same times as gettimeofday.
Con Kolivas 1d823533 2013-08-19T17:55:32 Reuse times extracted from the clock in bflsc_get_results.
Con Kolivas 97431945 2013-08-19T16:36:01 Sleep for half a work period only in bflsc_get_results if no dev is suitable.
Con Kolivas a61e41a0 2013-08-19T15:58:22 Check for thr->work_restart in restart_wait.
Con Kolivas 89f571f5 2013-08-19T15:51:14 We should be using que_low to decrease scan sleep time in bflsc.
Con Kolivas 09dbd616 2013-08-19T13:57:36 Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
Con Kolivas 09e9091d 2013-08-19T13:54:56 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
Con Kolivas e56c9a5d 2013-08-18T16:49:15 Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads.
Con Kolivas 3c707202 2013-08-18T16:46:27 Use 100ms delay between checking for results on all bflsc devices as the buffering of results mean checking more frequently just wastes CPU and causes more lock contention for only marginally better latencies.
Con Kolivas d71e9f91 2013-08-09T06:43:25 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it.
Con Kolivas 812852cc 2013-08-09T06:31:57 Move bflsc defines to a header file.
Kano 18e4edc7 2013-07-08T20:28:03 bflsc nonce per work item stats
Kano 89d0062a 2013-07-08T19:41:23 bflsc increase flush count to handle parallel work
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 385a70be 2013-07-06T19:15:59 make all statline overflow safe
Con Kolivas da680f51 2013-07-01T14:44:27 Don't count invalid nonces as hashrate for bflsc.
Kano 2beb30f1 2013-06-28T22:55:55 bflsc get volts stats needs its own GETVOLTS
Kano e8bbb49b 2013-06-27T00:39:25 bflsc x-link header different to documentation
ckolivas 9dc2f3f1 2013-06-25T11:21:28 Redo +1 fix in bflsc.
Con Kolivas a7f9bf3c 2013-06-23T15:37:00 Merge pull request #454 from kanoi/master bflsc - handle xlink timeouts by having generic IO functions
Con Kolivas f5911528 2013-06-24T08:17:27 Demote bflsc hw error messages to verbose logging only.
Kano f2bbfee7 2013-06-23T18:14:12 bflsc - handle xlink timeouts by having generic IO functions
Con Kolivas d741410f 2013-06-23T10:13:18 sc_count shouldn't be +1 in bflsc.
Con Kolivas 0cd2c5c3 2013-06-23T10:12:44 Use the info timeout for read_nl in getidentify bflsc.
Kano e993cf36 2013-06-23T10:01:18 bflsc try getinfo twice
Con Kolivas af0ae8aa 2013-06-19T12:09:30 Decrease BAL and BAS latency to be just larger than one result read.
Con Kolivas 045e105d 2013-06-19T11:42:43 BFLSC latest firmware has its own thermal cutoff set to 90, so use the same value in case we have an old firmware that isn't throttling by itself.
Con Kolivas 7b42b83d 2013-06-19T11:38:45 Drop watermark low limits for bflsc.
Con Kolivas e172c987 2013-06-19T11:29:53 Set the fanspeed on bflsc to max if we don't know the temperature.
Con Kolivas 7be081d8 2013-06-19T11:24:04 Use a low watermark for queueing mandatory work on bflsc instead of zero.
Con Kolivas 0b5eb436 2013-06-19T10:46:28 Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled." This reverts commit a49969908cacbde175cc5d02d7a68f2d4e311e79. Makes the driver busy wait.
Con Kolivas a4996990 2013-06-19T10:40:03 Only wait in the bflsc scanwork loop if the queues are satisfactorily filled.
Con Kolivas fa881bad 2013-06-19T10:22:54 Only mandatorily grab the bflsc mutex on submitting work when the queue is empty.
Con Kolivas 0fbd375e 2013-06-19T09:43:36 Adjust bflsc v2 watermarks.
Con Kolivas 05adbbf1 2013-06-19T09:42:32 Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration.
Con Kolivas fe1a3752 2013-06-19T08:57:08 Fix warning.
Kano a9fef661 2013-06-19T02:50:03 bflsc yet more API stats
Kano 71132876 2013-06-19T02:30:06 bflsc add some more API stats
Kano 3ac09fa2 2013-06-19T01:02:20 bflsc correct firmware matching
Kano 84a5da03 2013-06-19T00:58:35 bflsc correct comment
Kano 8f18d4c8 2013-06-19T00:52:13 bflsc driver support for v2 firmware
Con Kolivas 6d8d44c2 2013-06-17T09:57:13 Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document.
Kano b8b137ae 2013-06-10T15:59:02 USB make device_path handled by usbutils
Kano 749fa78d 2013-06-10T15:39:44 tidy up free in device detect functions
Kano 9287ee90 2013-06-10T15:22:37 USB control creation and free of cgpu
Con Kolivas 24d26d99 2013-06-10T02:54:18 Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps.
Con Kolivas 6fdc068f 2013-06-09T23:00:36 Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications." This reverts commit 3d8cf60b96f908388f9d7ed7cf9d4dcade0dadf7.
Con Kolivas 3d8cf60b 2013-06-09T22:58:07 Give a generous timeout whenever we expect an OK message for working bflsc communications.
Con Kolivas 9b00529c 2013-06-09T22:39:21 Return after failed bin2hex conversion in bflsc.
Con Kolivas 12a2cb0d 2013-06-09T22:37:49 Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate.
Con Kolivas 4f36d38c 2013-06-09T22:00:49 Revert "Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count." This reverts commit 4530a74e0b0ad54f4121cc55acd195399bc6f690.
Con Kolivas 6d7f079f 2013-06-09T21:53:48 Set bflsc cutofftemp to 90 degrees.
Con Kolivas 4530a74e 2013-06-09T21:52:42 Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count.