On 2019-11-28 19:58, Sebastian Andrzej Siewior wrote:
compute_layout() is invoked as part of an alternative fixup under
stop_machine(). This function invokes get_random_long() which
acquires a
sleeping lock on -RT which can not be acquired in this context.
Rename compute_layout() to kvm_compute_layout() and invoke it before
stop_machine() applies the alternatives. Add a __init prefix to
kvm_compute_layout() because the caller has it, too (and so the code
can be
discarded after boot).
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Acked-by: Marc Zyngier <maz@xxxxxxxxxx>
I think this should go via the arm64 tree, so I'll let Catalin
and Will pick this up (unless they think otherwise).
Thanks,
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm