diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-08-05 17:56:49 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 23:14:56 +1000 |
| commit | 2ac78e0c00184a9ba53d507be7549c69a3f566b6 (patch) | |
| tree | 96a7ea56700b10e7769d506927e822952e714d4b /tools/perf/scripts/python | |
| parent | powerpc/configs: Disable legacy ptys on microwatt defconfig (diff) | |
| download | linux-2ac78e0c00184a9ba53d507be7549c69a3f566b6.tar.gz linux-2ac78e0c00184a9ba53d507be7549c69a3f566b6.zip | |
KVM: PPC: Use arch_get_random_seed_long instead of powernv variant
The powernv_get_random_long() does not work in nested KVM (which is
pseries) and produces a crash when accessing in_be64(rng->regs) in
powernv_get_random_long().
This replaces powernv_get_random_long with the ppc_md machine hook
wrapper.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210805075649.2086567-1-aik@ozlabs.ru
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
