driver-hashfast.c


Log

Author Commit Date CI Message
Con Kolivas 2b1685c0 2014-02-07T01:08:39 Show serial number as a hex value in hfa verbose startup.
Con Kolivas 1cc0ca31 2014-02-06T16:36:28 Show which hfa die is bringing down all the others when decreasing all the clock speeds.
Con Kolivas b568177b 2014-02-06T16:25:13 Increase the decrease when temp has increased more and we want to decrease it on hfa.
Con Kolivas f24e56bc 2014-02-06T16:04:40 Allow throttling of hfa dies more frequently and increasing of speeds less frequently.
Con Kolivas 62a8dfa3 2014-02-06T15:46:53 Fix dud revert.
Con Kolivas 5f4ee5b6 2014-02-06T15:46:05 Revert "Only adjust die speeds as well as fanspeeds on hfa if we've taken enough temperature samples." This reverts commit 0a0418d8a608de53ac84c7ad4cee32290b8c6882.
Con Kolivas e4297d97 2014-02-06T15:39:18 Wait after sending a hfa shutdown to allow the device to properly shut down before possibly sending it more commands.
Con Kolivas 485a093d 2014-02-06T15:34:18 Minimise the die clock differences in hfa to no more than 50Mhz.
Con Kolivas 0a0418d8 2014-02-06T14:32:14 Only adjust die speeds as well as fanspeeds on hfa if we've taken enough temperature samples.
Con Kolivas 1a0b1907 2014-02-06T09:51:44 Disable fan/die clock control in hfa if the firmware does not support it, with notification.
Con Kolivas 2405c8e0 2014-02-05T22:52:22 Revert "We should retry only 3 times to get an hfa header response to init since that is more than 1.5 second of waiting." This reverts commit efa9963f8625a628a94e29f006c90306b20d7bda. Conflicts: driver-hashfast.c
Con Kolivas 779c9df3 2014-02-05T21:58:31 Decrease hfa clock by 10 if a reset is attempted due to the device remaining idle.
Con Kolivas 9f627970 2014-02-05T21:28:38 Add no matching work to hfa API output.
Con Kolivas 0eaad2fc 2014-02-05T20:27:56 Change various logging message levels in the hfa driver.
ckolivas d385befb 2014-02-05T17:19:54 Only adjust clocks if there is no restart in hfa to avoid 2 restarts back to back.
ckolivas 42beb96f 2014-02-05T16:28:04 Ensure we iterate over all dies adjusting temperate for hfa by starting iterating after the last die modified.
ckolivas fbb7bf24 2014-02-05T11:38:34 Clamp initial hfa fanspeed to min/max if passed as parameters.
ckolivas 49482b1b 2014-02-05T11:37:11 Allow hfa fanspeed to be set via command line.
ckolivas ea3eccff 2014-02-05T11:03:06 Try one more time to get the hfa header on init since it can take 2 seconds for all 3 boards on a sierra.
Con Kolivas d56bb3df 2014-02-04T20:09:18 Wait for 5 temperature updates in hfa before adjusting fanspeed.
Con Kolivas b45ae688 2014-02-04T20:02:48 Have some leeway before starting to throttle hfa dies.
Con Kolivas 01b8a49a 2014-02-04T19:51:38 Use increments of 10 when increasing hfa clock since it may not have 5 MHz granularity internally.
Con Kolivas efa9963f 2014-02-04T19:43:03 We should retry only 3 times to get an hfa header response to init since that is more than 1.5 second of waiting.
Con Kolivas 173457fc 2014-02-04T19:13:48 Only perform a hfa fan speed update if we have new temps to work with.
Con Kolivas f66f4795 2014-02-04T19:05:52 Correctly measure the hfa max temp and smooth out the changes in its value.
Con Kolivas cb3158d2 2014-02-03T21:40:15 Add fanspeed to hfa api output and set initial fanspeed to 10%
Con Kolivas b88fc8b8 2014-02-03T21:18:22 Add hfa fanspeed control to try and maintain a target temperature.
Con Kolivas 68e514e6 2014-02-03T20:10:42 Add op commands necessary to control hfa fanspeeds.
Con Kolivas a3644590 2014-02-02T00:00:21 Send a ping to hfa devices if nothing is sent for over 5 seconds.
Con Kolivas 5b61abc7 2014-02-01T23:53:33 Add OP_PING to hfa commands
Con Kolivas 040dced2 2014-02-01T23:38:02 Display the hfa serial number as a hexadecimal value.
Con Kolivas b55db249 2014-02-01T23:08:00 Limit all hfa restarts for temperature control to no closer than 15 seconds apart.
Con Kolivas 2d0afaea 2014-02-01T23:03:22 Allow the hfa temp target to be disabled by setting it to zero.
Con Kolivas 8e05a7d0 2014-02-01T22:30:17 Add sanity check for silly overflows in hfa die temperature readings.
Con Kolivas dc93ca47 2014-02-01T22:08:46 Add per-die throttling control for hfa driver based on each die's temperature, issuing a suitable reset to maintain the temperature below a configurable target temperature.
Con Kolivas aa3f60ae 2014-02-01T09:29:39 Send a full allotment of jobs to the hfa device after a restart instead of reading the status.
ckolivas 843b7377 2014-01-28T10:25:25 Relax timeout in hf get header to 500ms to match the usb timeout.
Con Kolivas a0f9a7e9 2014-01-25T20:49:51 Support the variable HFA naming throughout the driver notices.
Con Kolivas a2846cba 2014-01-25T20:34:19 Set the global hfa hash clock rate to equal the lowest if we are lowering it for a device reset since it may be re-hotplugged after failing reset.
Con Kolivas 032c1565 2014-01-25T20:32:19 Decrease the hfa clock rate if it is overclocked and we have had to try resetting it.
Con Kolivas 675030ce 2014-01-25T20:20:56 Put a sanity check on the measured temperature in the hfa driver for obviously wrong values.
Con Kolivas fe64facc 2014-01-25T17:41:51 Avoid calling applog from within hfa statline before to avoid a deadlock.
Con Kolivas d3480c76 2014-01-25T17:32:49 Add throttling control to hfa driver, configurable at command line, nominally set to 85 degrees.
Con Kolivas e548cf4e 2014-01-25T17:12:53 Reset hfa device if no valid hashes are seen for 1 minute from the last work.
Con Kolivas 8155fe8c 2014-01-25T16:46:47 Count share based hashes in the hfa driver with the device diff to get more frequent updates.
Con Kolivas c7ce722e 2014-01-25T16:40:49 Only count 2/3 of the accumulated hashes on each pass through the hfa scan work loop to smooth out displayed hashrate.
Con Kolivas 89188b01 2014-01-25T14:57:44 Test valid nonces in the hashfast driver allowing us to check against the target when trying to submit them.
Con Kolivas ecaa9ee9 2014-01-25T14:50:36 No point casting a double to a uint64
Con Kolivas 224dc5f8 2014-01-25T14:42:16 Convert the hfa hashmeter to one based on successful share return and display the raw and calculated hash totals in the API.
Con Kolivas 7cd22e2a 2014-01-25T14:34:44 Add description to hfa hash clock command.
Con Kolivas f2f27aac 2014-01-25T14:20:55 Add hfa board temperatures to API output.
Con Kolivas 3be6ea39 2014-01-25T14:06:27 Wait for up to 0.5 seconds in the hashfast scanwork loop if no jobs are required.
Con Kolivas 1f06c1c8 2014-01-25T14:01:33 Label HFA devices as B or S when their configuration matches babyjet or sierra.
Con Kolivas b0ccc4e1 2014-01-25T12:49:25 Remove unused components in hashfast driver.
Con Kolivas 2136e12c 2014-01-25T00:27:04 Check in all usb communication places for hashfast driver that the device still exists.
Con Kolivas 5efedcfa 2014-01-25T00:10:14 The search for extra nonce is not worth performing in the hashfast driver.
Con Kolivas 5ecec412 2014-01-25T00:09:24 Add core address to hfa parse nonce debugging.
Con Kolivas f7e93fe4 2014-01-25T00:08:02 Retry sending a frame once if it has failed in hfa_send_frame
Con Kolivas fdf0dcd7 2014-01-24T23:58:43 Add extra hfa usb init errors.
Con Kolivas ed77d22d 2014-01-24T23:57:31 Quiet now unused variable warning in hfa detect.
Con Kolivas fa9ad491 2014-01-24T23:56:25 Add board temperature to hfa debug
ckolivas 9c744476 2014-01-24T10:26:38 Look for hfa usb init header for 2 seconds, then resend the init twice more before failing.
ckolivas c2d4d12f 2014-01-24T10:21:19 Merge branch 'master' of github.com:ckolivas/cgminer
ckolivas 6828ce5b 2014-01-24T10:18:27 Really only set up the hfa crc table once.
Kano d9440866 2014-01-18T09:36:51 Modify thread naming to make them easier to identify
Con Kolivas aa010569 2014-01-10T11:29:00 Fix HF driver typo.
Con Kolivas f380336d 2014-01-04T11:56:59 Reword offset header handling in hfa_get_header
Con Kolivas d962d202 2014-01-04T11:35:20 Sanity check in hfa_get_header
Con Kolivas d1410654 2014-01-04T11:19:57 Add more checks in hashfast driver for lost devices.
Con Kolivas e4233068 2013-12-29T22:40:35 Discard bad crc packets for hashfast driver instead of trying to process them.
Con Kolivas 643b01e0 2013-12-21T08:19:37 Ensure we can look up the work item in the hashfast driver or print out an error if we don't.
Con Kolivas c852e213 2013-12-16T22:34:27 Look for the thermal overload flag in the gwq status message in the hashfast driver and send it a shutdown followed by an attempted reset.
Con Kolivas 634e0093 2013-12-06T10:35:02 Remove user configuration flag from pll bypass enabling in hashfast driver.
Con Kolivas f4a96194 2013-12-04T20:42:25 Provide an hfa-dfu-boot option for resetting hashfast devices for reprogramming.
Con Kolivas f46958af 2013-12-02T11:06:22 Don't free the info struct on hashfast shutdown since it's still accessed after a device is removed.
Con Kolivas b035ceab 2013-12-02T11:06:22 Don't free the info struct on hashfast shutdown since it's still accessed after a device is removed.
Con Kolivas e175325c 2013-11-30T18:12:50 Add debugging to hfa driver for how many jobs are being sent.
Con Kolivas dc0b0dc0 2013-11-30T17:41:27 Shut down the hfa read thread if the device disappears.
Con Kolivas 67e35260 2013-11-30T17:03:22 Add debug output saying what frame command is being sent in hfa driver.
Con Kolivas 1ec7a47a 2013-11-30T12:13:45 Reset work restart flag in hfa driver since we may check for it again in restart_wait.
Con Kolivas 64baf870 2013-11-30T11:16:27 Add more op usb init errors for hfa driver.
Con Kolivas 9298a189 2013-11-30T11:02:03 Perform basic displaying of hfa notices received.
Con Kolivas adea58a7 2013-11-30T10:43:39 Add hfa op usb notice macros.
Con Kolivas c5dfb96f 2013-11-26T19:34:44 Initialise more values for the hfa data structures.
Con Kolivas 8901d7e3 2013-11-24T16:52:08 Add hidden hfa options to set hash clock, group ntime roll and pll bypass, fixing frame sent on reset to include extra data.
Con Kolivas 2b9bdca6 2013-11-23T15:08:43 Use an absolute timeout in hfa_get_header to cope with buffered usb reads returning instantly confusing the 200ms counter.
Con Kolivas af1eb78c 2013-11-23T13:23:06 Update hfa_detect_one to use the new detect function API.
Con Kolivas 9a036bc8 2013-11-11T18:05:57 Only retry 3 times in hfa_reset.
Con Kolivas a4a1b942 2013-11-11T17:55:24 Only add_cgpu in hashfast driver once we have a real driver set up.
Con Kolivas 10c09c4c 2013-11-11T17:47:59 Clean up properly if hfa_detect_common fails in the hashfast driver.
Con Kolivas 53451bfb 2013-11-10T15:13:57 Update style.
Adrian Port 158e24f9 2013-11-10T14:45:38 Framework for ntime rolling, keep looking for OP_USB_INIT replies when other packets received
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
Adrian Port 178c9a0c 2013-10-30T19:55:50 Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places
Adrian Port 065054f6 2013-10-30T18:02:51 Structure changes for OP_NONCE, add big endian header
Con Kolivas fc6472fc 2013-10-23T12:55:32 Minor buildfix for other platforms.
Con Kolivas 5ee279ca 2013-10-21T13:30:17 Add atmel init sequence likely to be required on hashfast for windows to work.
Con Kolivas 75726f6e 2013-10-21T13:15:52 Implement max temp and volt monitoring on statline for hashfast driver.
Con Kolivas f5679aaa 2013-10-21T12:50:45 Check for nodev on hashfast driver and disable it if it has disappeared.
Con Kolivas 1eb18061 2013-10-21T12:42:54 Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail.