commit | 686d038fd2b04d3e67c95a315fbcb122e5fce246 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Fri Feb 12 17:14:05 2021 +0000 |
committer | Andrew Scull <ascull@google.com> | Mon Feb 15 13:41:42 2021 +0000 |
tree | ed50b365d27e22d93b26f84cd0c62a9bd2138c6e | |
parent | 28262123e5c1d4e705064210d815e97a87b7703e [diff] |
KVM: arm64: Support smp_processor_id() in nVHE hyp smp_procesor_id() works off of the cpu_number per-cpu variable. Create an nVHE hyp version of cpu_number and initialize it to the same value as the host when creating the hyp per-cpu regions. Signed-off-by: Andrew Scull <ascull@google.com>