[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HiFn 7955 makes OpenSSH fail
- To: misc@openbsd.org
- Subject: Re: HiFn 7955 makes OpenSSH fail
- From: Jochen Eisinger <jochen@penguin-breeder.org>
- Date: Sun, 01 Aug 2004 15:09:09 +0200
- References: <4106C146.4070806@penguin-breeder.org> <6.1.2.0.0.20040727171903.0933cee0@64.7.153.2> <4108088F.4090601@penguin-breeder.org> <41080DB7.8070702@penguin-breeder.org> <6.1.2.0.0.20040728165249.103fedc8@64.7.153.2> <4108138E.8070105@penguin-breeder.org> <6.1.2.0.0.20040728171205.10405bf0@64.7.153.2> <410822B7.8010608@penguin-breeder.org> <410836A7.8060701@mindrot.org>
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040721
Hi,
in hifn_crypto() and hifn_compress_enter() there's a block like this:
/*
* We don't worry about missing an interrupt (which a "command wait"
* interrupt salvages us from), unless there is more than one command
* in the queue.
*/
if (dma->cmdu > 1) {
sc->sc_dmaier |= HIFN_DMAIER_C_WAIT;
WRITE_REG_1(sc, HIFN_1_DMA_IER, sc->sc_dmaier);
}
well, I thought mabye we should worry and removed the if() { .. } around
this block.
With this patched driver I cannot reproduce the problem (SSH failing)
anymore. Also there are no noticable changes in performance (using
openssl speed)
however, I'm no expert here, this is just the result of poking randomly
at the code :)
any comments on this?
kind regards
-- jochen