Richard Henderson
1a50ec0b3b
arm64: Implement archrandom.h for ARMv8.5-RNG
...
Expose the ID_AA64ISAR0.RNDR field to userspace, as the RNG system
registers are always available at EL0.
Implement arch_get_random_seed_long using RNDR. Given that the
TRNG is likely to be a shared resource between cores, and VMs,
do not explicitly force re-seeding with RNDRRS. In order to avoid
code complexity and potential issues with hetrogenous systems only
provide values after cpufeature has finalized the system capabilities.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
[Modified to only function after cpufeature has finalized the system
capabilities and move all the code into the header -- broonie]
Signed-off-by: Mark Brown <broonie@kernel.org >
Reviewed-by: Mark Rutland <mark.rutland@arm.com >
Reviewed-by: Ard Biesheuvel <ardb@kernel.org >
[will: Advertise HWCAP via /proc/cpuinfo]
Signed-off-by: Will Deacon <will@kernel.org >
2020-01-22 09:54:18 +00:00
..
2019-12-20 19:00:50 +02:00
2019-07-15 11:03:02 -03:00
2019-12-22 10:59:06 -08:00
2019-09-30 21:39:18 +02:00
2020-01-22 09:54:18 +00:00
2019-11-21 09:06:47 -07:00
2019-10-30 16:25:31 +01:00
2019-07-15 11:03:03 -03:00
2019-12-06 13:36:31 -08:00
2019-09-02 22:44:05 +02:00
2019-11-17 09:02:49 +08:00
2019-12-11 10:27:01 -07:00
2019-12-22 09:54:33 -08:00
2019-11-07 13:17:25 -07:00
2019-12-05 11:21:24 -08:00
2019-07-15 11:03:02 -03:00
2019-07-15 11:03:03 -03:00
2019-07-16 12:21:41 -07:00
2019-10-20 23:48:28 -07:00
2019-12-14 11:13:54 -08:00
2019-10-14 11:03:44 +02:00
2019-10-16 19:18:26 -07:00
2019-11-06 16:27:48 -05:00
2019-07-15 11:03:02 -03:00
2019-12-02 11:51:02 -08:00
2019-12-02 11:51:02 -08:00
2019-07-15 11:03:03 -03:00
2019-07-15 11:03:03 -03:00
2019-07-15 11:03:02 -03:00
2019-09-13 16:55:55 -03:00
2019-08-06 11:24:49 -06:00
2019-07-31 13:30:25 -06:00
2019-12-22 00:25:35 +09:00
2019-09-10 10:30:49 +02:00
2019-07-25 20:07:52 +02:00
2019-11-01 13:08:24 +01:00
2019-09-14 01:53:27 -06:00
2019-07-31 13:30:10 -06:00
2019-11-25 08:42:12 -07:00
2019-11-10 17:49:27 +01:00
2019-07-15 11:03:03 -03:00
2019-10-10 11:25:39 -06:00
2019-10-11 10:01:27 -06:00
2019-07-15 11:03:03 -03:00
2019-12-09 09:27:47 -08:00
2019-07-31 13:31:51 -06:00
2019-11-25 08:34:54 -07:00
2019-07-31 13:30:20 -06:00
2019-07-31 13:30:15 -06:00
2019-08-27 14:23:31 -07:00
2019-07-15 11:03:03 -03:00
2019-12-03 13:58:22 -08:00
2019-11-13 19:27:58 +11:00
2019-12-09 10:36:44 -08:00
2019-10-29 02:48:29 -07:00
2019-10-03 10:51:42 -06:00
2019-08-21 12:41:43 +02:00
2019-10-29 04:35:41 -06:00
2019-12-09 19:17:36 -05:00
2019-11-22 10:01:47 -07:00
2019-07-17 06:57:52 -03:00
2019-11-20 19:39:54 +01:00
2019-07-15 11:03:01 -03:00
2019-11-22 10:35:18 -07:00
2019-10-02 10:03:06 -06:00
2019-07-31 14:13:13 -06:00
2019-07-15 11:03:03 -03:00
2019-07-15 11:03:03 -03:00
2019-12-02 11:51:02 -08:00
2019-12-09 10:36:44 -08:00
2019-10-04 10:53:36 +02:00
2019-12-02 11:51:02 -08:00
2019-11-29 19:20:08 +01:00
2019-07-30 17:27:37 +02:00
2019-11-23 19:56:45 -04:00
2019-10-18 09:45:56 -06:00
2019-09-27 11:17:38 -07:00
2019-11-26 08:40:20 -08:00
2019-07-15 11:03:01 -03:00
2019-10-25 10:52:22 +02:00
2019-07-08 16:12:03 -07:00
2019-10-02 10:03:17 -06:00
2019-07-15 09:20:27 -03:00
2019-07-15 09:20:24 -03:00
2019-09-04 11:13:19 +02:00
2019-11-14 12:01:54 -04:00
2019-06-20 14:16:56 -06:00
2019-11-11 20:10:01 +09:00
2019-06-29 21:08:14 -07:00
2019-12-02 11:51:02 -08:00
2019-06-07 11:33:16 -06:00
2019-12-02 17:35:04 -08:00
2019-11-22 10:00:46 -07:00
2019-09-13 21:15:39 +10:00
2019-07-15 08:53:27 -03:00
2019-07-15 09:20:24 -03:00
2019-06-29 12:02:17 -07:00
2019-06-07 11:23:38 -06:00