diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2018-03-22 11:24:28 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2018-03-22 11:24:28 +0000 |
commit | 833b4f665e73149e2f72e5c773b209c8628e2766 (patch) | |
tree | 7725c86d8eeb35ac1b72048812bd33295b40ce23 /lib/libcrypto/man/RSA_generate_key.3 | |
parent | 9cbf1b5e10298b6bef05d1fd7f35f941af7cfbdb (diff) |
In vldcp(4), initialize lc_rx_state to a magic value which is not
used by the hypervisor interface. This allows the driver to sync
up with the firmware's Rx channel state (DOWN/UP/RESET) upon the
first interrupt, and repair inconsistent Rx channel head/tail queue
state if necessary.
Unwedges another interrupt storm observed when starting ldomd on my
T5220 after a reboot. In case the firmware's Rx queue head and tail
are initially not equal, the normal interrupt handling path will not
operate as expected due to the interrupt storm, and we never told the
firmware to shut up.
Other cbus(4) drivers might benefit from a similar fix, but we're
too close to release for experiments, so I'm just fixing vldcp(4).
ok kettenis@ deraadt@
Diffstat (limited to 'lib/libcrypto/man/RSA_generate_key.3')
0 files changed, 0 insertions, 0 deletions