On Tue, Aug 22, 2017 at 9:22 AM, PrasannaKumar Muralidharan
wrote:
>
> In read routiene max is always >= 4. The check whether 'max < 4' is not
> necessary. Remove it.
Missed that in the header.
Acked-By: Rick Altherr
>
> Signed-off-by: PrasannaKumar Mura
When a hw_random device's quality is non-zero, it will automatically be
used to fill the kernel's entropy pool. Since timeriomem_rng is used by
many different devices, the quality needs to be provided by platform
data or device tree.
Signed-off-by: Rick Altherr
---
Changes in v2
Signed-off-by: Rick Altherr
---
Changes in v2: None
Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
index
When a hw_random device's quality is non-zero, it will automatically be
used to fill the kernel's entropy pool. Since timeriomem_rng is used by
many different devices, the quality needs to be provided by platform
data or device tree.
Signed-off-by: Rick Altherr
---
drivers/char
Signed-off-by: Rick Altherr
---
Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
index 6616d15866a3
No functional changes.
Signed-off-by: Rick Altherr
---
Changes in v2:
- Split type and variable renames into separate patch
drivers/char/hw_random/timeriomem-rng.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/char/hw_random
Preserves the existing behavior of only returning 32-bits per call.
Signed-off-by: Rick Altherr
---
Changes in v2:
- Split API migration into separate patch
drivers/char/hw_random/timeriomem-rng.c | 60 -
1 file changed, 30 insertions(+), 30 deletions(-)
diff
: Rick Altherr
---
Changes in v2:
- Split performance improvements into separate patch
drivers/char/hw_random/timeriomem-rng.c | 86 +
1 file changed, 45 insertions(+), 41 deletions(-)
diff --git a/drivers/char/hw_random/timeriomem-rng.c
b/drivers/char/hw_random
migration into separate patch
- Split type and variable renames into separate patch
- Split performance improvements into separate patch
Rick Altherr (3):
hw_random: Migrate timeriomem_rng to new API
hw_random: timeriomem_rng: Shorten verbose type and variable names
hw_random: timeriomem_rng: Improve
new hw_random API while I in this driver.
Signed-off-by: Rick Altherr
---
drivers/char/hw_random/timeriomem-rng.c | 153
1 file changed, 75 insertions(+), 78 deletions(-)
diff --git a/drivers/char/hw_random/timeriomem-rng.c
b/drivers/char/hw_random/timeriomem
10 matches
Mail list logo