[PATCH v2 01/14] crypto: sun4i-ss - simplify optional reset handling

2017-03-15 Thread Philipp Zabel
ditionally. Signed-off-by: Philipp Zabel --- drivers/crypto/sunxi-ss/sun4i-ss-core.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-core.c b/drivers/crypto/sunxi-ss/sun4i-ss-core.c index 3ac6c6c4ad18e..e310e311d2

[PATCH 014/102] crypto: sun4i-ss - request exclusive reset control

2017-07-19 Thread Philipp Zabel
e explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Corentin Labbe Cc: Herbert Xu Cc: "David S. Miller" Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: linux-crypto@vger.kernel.org Signed-off-by: Philipp Zabel --- drivers/crypto/sunxi-ss/sun4i-

[PATCH 013/102] crypto: rockchip: explicitly request exclusive reset control

2017-07-19 Thread Philipp Zabel
e explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Herbert Xu Cc: "David S. Miller" Cc: Heiko Stuebner Cc: linux-crypto@vger.kernel.org Cc: linux-rockc...@lists.infradead.org Signed-off-by: Philipp Zabel --- drivers/crypto/rockchip

Re: [PATCH v4 2/2] hwrng: bcm2835: add reset support

2021-03-03 Thread Philipp Zabel
Hi Álvaro, On Wed, 2021-02-24 at 09:22 +0100, Álvaro Fernández Rojas wrote: [...] > @@ -115,6 +121,8 @@ static void bcm2835_rng_cleanup(struct hwrng *rng) > /* disable rng hardware */ > rng_writel(priv, 0, RNG_CTRL); > > + reset_control_rearm(priv->reset); > + > if (!IS_ERR

Re: [PATCH v5 2/2] hwrng: bcm2835: add reset support

2021-03-04 Thread Philipp Zabel
nández Rojas > --- > v5: remove reset_control_rearm(). Reviewed-by: Philipp Zabel regards Philipp

Re: [PATCH v6 3/3] hwrng: bcm2835: add reset support

2021-03-05 Thread Philipp Zabel
FIPS 140-2(2001-10-10) Continuous run: 0 > rngtest: input channel speed: (min=37.253; avg=320.827; max=635.783)Mibits/s > rngtest: FIPS tests speed: (min=12.141; avg=15.034; max=16.428)Mibits/s > rngtest: Program run time: 1336176 microseconds > > Signed-off-by: Álvaro Fernández Rojas

[PATCH] crypto: sun4i-ss - simplify optional reset handling

2021-03-05 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to unconditionally return errors from devm_reset_control_get_optional_exclusive. Signed-off-b