Re: [PATCH] crypto: crypto4xx - Perform read/modify/write on device control register

2011-06-27 Thread Herbert Xu
On Tue, Jun 21, 2011 at 08:13:21AM -0400, Josh Boyer wrote: > The Security function on the AMCC SoCs has multiple engines within a > single MMIO range. The crypto driver currently enables the 3DES > functionality by doing a blind write to the device control register. > This can unintentionally dis

[PATCH] crypto: crypto4xx - Perform read/modify/write on device control register

2011-06-21 Thread Josh Boyer
The Security function on the AMCC SoCs has multiple engines within a single MMIO range. The crypto driver currently enables the 3DES functionality by doing a blind write to the device control register. This can unintentionally disable other functions like the PKA or TRNG when the driver is loaded.