Conversation
Add CSRNG driver support required by Nord and Shikra platforms.wq Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Disable CSRNG support on Kodiak platforms that do not support the CSRNG hardware. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Disable CSRNG support on Lemans platforms that do not support the CSRNG hardware. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Disable CFG_QCOM_CSRNG by default for Hoya targets. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Enable CSRNG support on Nord platforms. Update the platform configuration to enable the CSRNG driver on Nord. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Enable CSRNG support on Shikra platforms. Update the platform configuration to enable the CSRNG driver on Shikra. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Avoid redefining QCOM_RNG_REG_BASE in Kodiak and Lemans target configuration files. Use the common Hoya definition from arch_config.h and adjust platform-specific offsets to preserve the same effective register addresses. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Read DATA_OUT directly after DATA_AVAIL is asserted. A value of 0x00000000 is a valid random output and should not be filtered out. Waiting for a non-zero value biases the output distribution by excluding a valid result. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Remove the CSRNG initialization log message as it is not required during normal operation. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Force CSRNG enablement on Shikra and define RNG register configuration in the Hoya target-specific configuration files instead of a common architecture configuration. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Use platform-specific CSRNG base addresses and offsets to avoid redefining common RNG configuration while preserving the effective register addresses. Signed-off-by: mrehman <mrehman@qti.qualcomm.com>
Author
|
This PR is a duplicate of #50. |
|
Could you add a description please? What does this PR do, in aggregate? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.