or Ingenic X1830")
Signed-off-by: Christophe JAILLET
---
drivers/char/hw_random/ingenic-trng.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
Thanks for fixing it, and apologize for my carelessness.
Tested-by: 周琰杰 (Zhou Yanjie)
diff --git a/drivers/char/hw_random/
Add X1830 SoC digital true random number generator driver.
Tested-by: 周正 (Zhou Zheng)
Co-developed-by: 漆鹏振 (Qi Pengzhen)
Signed-off-by: 漆鹏振 (Qi Pengzhen)
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
drivers/char/hw_random/Kconfig| 14 +++
drivers/char/hw_random/Makefile | 1
1.Add the TRNG bindings for the X1830 SoC from Ingenic.
2.Add X1830 SoC digital true random number generator driver.
周琰杰 (Zhou Yanjie) (2):
dt-bindings: RNG: Add Ingenic TRNG bindings.
crypto: Ingenic: Add hardware TRNG for Ingenic X1830.
.../devicetree/bindings/rng/ingenic,trng.yaml
Add the TRNG bindings for the X1830 SoC from Ingenic.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
.../devicetree/bindings/rng/ingenic,trng.yaml | 43 ++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/ingenic,trng.yaml
diff --git a
Cc: l...@intel.com, Julia Lawall
Subject: [crypto:master 164/167] drivers/char/hw_random/ingenic-rng.c:118:1-6:
WARNING: invalid free of devm_ allocated data
CC: kbuild-...@lists.01.org
CC: linux-crypto@vger.kernel.org
TO: "周琰杰 (Zhou Yanjie)"
CC: Herbert Xu
CC: PrasannaKumar Mura
Hello,
在 2020/8/4 下午4:11, Wei Yongjun 写道:
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Thanks for fix it.
Reviewed-by: 周琰杰 (Zhou Yanjie)
Fixes: 190873a0ea45 ("crypto: ingenic - Add hardware RNG for Ingenic JZ4780
Add the RNG bindings for the JZ4780 SoC and
the X1000 SoC from Ingenic.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
Notes:
v1->v2:
No change.
.../devicetree/bindings/rng/ingenic,rng.yaml | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 Documentat
v1->v2:
Use "help" instead "---help---" in Kconfig.
周琰杰 (Zhou Yanjie) (2):
dt-bindings: RNG: Add Ingenic RNG bindings.
crypto: Ingenic: Add hardware RNG for Ingenic JZ4780 and X1000.
.../devicetree/bindings/rng/ingenic,rng.yaml | 36 +
drivers
Add JZ4780 SoC and X1000 SoC random number generator driver,
based on PrasannaKumar Muralidharan's JZ4780 RNG driver.
Tested-by: 周正 (Zhou Zheng)
Tested-by: Mathieu Malaterre
Suggested-by: Jeffrey Walton
Signed-off-by: PrasannaKumar Muralidharan
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
Hello Randy,
在 2020/7/23 上午2:27, Randy Dunlap 写道:
On 7/22/20 9:40 AM, 周琰杰 (Zhou Yanjie) wrote:
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 0ad17efc96df..fcb06027cd88 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
Add JZ4780 SoC and X1000 SoC random number generator driver,
based on PrasannaKumar Muralidharan's JZ4780 RNG driver.
Tested-by: 周正 (Zhou Zheng)
Tested-by: Mathieu Malaterre
Suggested-by: Jeffrey Walton
Signed-off-by: PrasannaKumar Muralidharan
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
dr
Add the RNG bindings for the JZ4780 SoC and
the X1000 SoC from Ingenic.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
.../devicetree/bindings/rng/ingenic,rng.yaml | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/ingenic
1.Add the RNG bindings for the JZ4780 SoC and the X1000 SoC
from Ingenic.
2.Add JZ4780 SoC and X1000 SoC random number generator driver,
based on PrasannaKumar Muralidharan's JZ4780 RNG driver.
周琰杰 (Zhou Yanjie) (2):
dt-bindings: RNG: Add Ingenic RNG bindings.
crypto: Ingenic
13 matches
Mail list logo