Re: [kvm-unit-tests PATCH 00/18] arm/arm64: add smp support

Christoffer Dall
2015-02-26T11:34:02Z

On Sun, Feb 01, 2015 at 07:34:28PM +0100, Andrew Jones wrote:
> This series extends the kvm-unit-tests/arm[64] framework to support smp.
> A break down of the patches is as follows
>
> 01-02: prepare general framework for smp use
> 03-06: arm/arm64 fixups not 100% related to this series,
> but need to post some time...
> 07-09: add thread_info (for per-thread data) and suck some global
> data into it
> 10-11: add cpumask support (for per-cpu data) and suck some more
> global data in
> 12: add arm64 simple spinlock implementation
> 13-14: add some PSCI support
> 15-16: further prep for smp_boot_secondary
> 17: finally add smp_boot_secondary
> 18: as usual, add a selftest to make sure it all works
>
> These patches are also available here:
> https://github.com/rhdrjones/kvm-unit-tests/tree/arm/smp
>
I've tested these patches on Juno and they seem to run fine, however,
since we don't support big.LITTLE yet, you have to run them under
'taskset <mask>', but the config script uses $(getconf
_NPROCESSORS_CONF), which returns 6, and QEMU fails. The interesting
bit is that the unit-tests still report 'PASS' - not sure why.

I'm fine with merging these and fixing anything up as we go along - this
is a test harness after all and I don't have time for an in-depth review
of these patches right now, sorry.

-Christoffer