On 2019/5/31 17:29, Kefeng Wang wrote:
> There is a deadlock issue in pcrypt_init_padata(),
>
> pcrypt_init_padata()
> cpus_read_lock()
> padata_free()
> padata_sysfs_release()
> cpus_read_lock()
>
> Narrow rcu_read_lock/unlock() and move
-by: Kefeng Wang
---
crypto/pcrypt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c
index 0e9ce329fd47..662228b48b70 100644
--- a/crypto/pcrypt.c
+++ b/crypto/pcrypt.c
@@ -407,13 +407,14 @@ static int pcrypt_init_padata(struct
e linux/random.h for get_random_bytes()
Changes since v1:
- Rename compatible name from "hisilicon,hisi-rng" to "hisilicon,rng"
Kefeng Wang (2):
dt/bindings: Add bindings for hisilicon random number generator
hwrng: hisi: Add support for Hisilicon SoC RNG
Documentation/de
This adds the Hisilicon Random Number Generator(RNG) support,
which is found in Hip04 and Hip05 soc.
Reviewed-by: Mathieu Poirier
Signed-off-by: Kefeng Wang
---
drivers/char/hw_random/Kconfig| 13
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/hisi-rng.c | 126
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
Documentation/devicetree/bindings/rng/hisi-rng.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings
On 2016/4/12 21:54, Rob Herring wrote:
> On Mon, Apr 11, 2016 at 8:16 PM, Kefeng Wang
> wrote:
>>
>>
>> On 2016/4/11 22:43, Rob Herring wrote:
>>> On Thu, Apr 07, 2016 at 04:23:16PM +0800, Kefeng Wang wrote:
>>>> Document the devicetree bindings
On 2016/4/11 22:43, Rob Herring wrote:
> On Thu, Apr 07, 2016 at 04:23:16PM +0800, Kefeng Wang wrote:
>> Document the devicetree bindings for the random number generator found
>> on Hisilicon Hip04 and Hip05 soc.
>>
>> Signed-off-by: Kefeng Wang
>> ---
>>
This adds the Hisilicon Random Number Generator(RNG) support,
which is found in Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
drivers/char/hw_random/Kconfig| 13
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/hisi-rng.c | 125
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
Documentation/devicetree/bindings/rng/hisi-rng.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Changes since v2:
- Remove unused RNG_RELOAD_ERR.
- Add comment of seed choice in hisi_rng_init
- Add head inculde linux/random.h for get_random_bytes()
Changes since v1:
- Rename compatible name from "hisilicon,hisi-rng" to "hisilicon,rng"
Kefeng Wang (2):
dt/bindin
On 2016/4/8 22:35, Mathieu Poirier wrote:
> On 7 April 2016 at 20:03, Kefeng Wang wrote:
>>
>>
>> On 2016/4/7 22:55, Mathieu Poirier wrote:
>>> On 7 April 2016 at 02:23, Kefeng Wang wrote:
>>>> This adds the Hisilicon Random Number Generator(RNG) suppo
On 2016/4/7 22:55, Mathieu Poirier wrote:
> On 7 April 2016 at 02:23, Kefeng Wang wrote:
>> This adds the Hisilicon Random Number Generator(RNG) support,
>> which is found in Hip04 and Hip05 soc.
>>
>> Signed-off-by: Kefeng Wang
>> ---
>>
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
Documentation/devicetree/bindings/rng/hisi-rng.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings
This patchset add the Hisilicon Random Number Generator(RNG) support.
Changes since v1:
- Rename compatible name from "hisilicon,hisi-rng" to "hisilicon,rng"
Kefeng Wang (2):
dt/bindings: Add bindings for hisilicon random number generator
hwrng: hisi: Add support f
This adds the Hisilicon Random Number Generator(RNG) support,
which is found in Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
drivers/char/hw_random/Kconfig| 13
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/hisi-rng.c | 121
On 2016/4/4 13:15, Rob Herring wrote:
> On Fri, Apr 01, 2016 at 09:37:43AM +0800, Kefeng Wang wrote:
>> Document the devicetree bindings for the random number generator
>> found on Hisilicon Hip04 and Hip05 soc.
[...]
>> +
>> +Required properties:
>> +- compatibl
Document the devicetree bindings for the random number generator
found on Hisilicon Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
Documentation/devicetree/bindings/rng/hisi-rng.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings
This adds the Hisilicon Random Number Generator(RNG) support,
which is found on Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang
---
drivers/char/hw_random/Kconfig| 13
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/hisi-rng.c | 121
18 matches
Mail list logo