History log of /kvm-unit-tests/lib/arm64/asm/barrier.h (Results 1 – 5 of 5)
Revision Date Author Comments
# 49f758b8 29-May-2017 Andrew Jones <drjones@redhat.com>

arm/arm64: code derived from Linux must be GPL not LGPL

Also update copyrights.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
[Amend two other "Adapat

arm/arm64: code derived from Linux must be GPL not LGPL

Also update copyrights.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
[Amend two other "Adapated" typos as well.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>

show more ...


# ea325c68 22-Dec-2016 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 'for-master' of https://github.com/rhdrjones/kvm-unit-tests into HEAD

arm/arm64 patches ready for master


# 81f05653 01-Dec-2016 Andrew Jones <drjones@redhat.com>

arm/arm64: yield on cpu_relax

In many tests one or more cpus wait for events from other cpus. However,
with TCG, if the event triggering cpus then continue without first
informing TCG it should sche

arm/arm64: yield on cpu_relax

In many tests one or more cpus wait for events from other cpus. However,
with TCG, if the event triggering cpus then continue without first
informing TCG it should schedule other cpus, then those other cpus may
never get scheduled, and never see their events. This is because the
TCG scheduler relies on either the currently running cpu to invoke an
instruction that results in scheduling or for some I/O event to occur,
and then to do scheduling while handling the I/O. kvm-unit-tests do not
have external I/O events, so we must invoke a yielding instruction
wherever needed. cpu_relax() is almost always a place it's needed.

While this change is mostly for TCG, it's fine to do for KVM as well.
The Linux kernel made the same change with 1baa82f4803 for armv8. As
the yield instruction is also available on armv7, we make the change
for both.

Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# 44bd4c1d 01-Feb-2015 Andrew Jones <drjones@redhat.com>

arm/arm64: add cpu_relax() and friends

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 39ac3f84 10-Dec-2014 Andrew Jones <drjones@redhat.com>

arm64: initial drop

This is the initial drop of the arm64 test framework and a first test
that just checks that setup completed (a selftest). kvm isn't needed
to run this test unless testing with sm

arm64: initial drop

This is the initial drop of the arm64 test framework and a first test
that just checks that setup completed (a selftest). kvm isn't needed
to run this test unless testing with smp > 1.

Try it out with
yum install gcc-aarch64-linux-gnu
./configure --cross-prefix=aarch64-linux-gnu- --arch=arm64
make
QEMU=[qemu with aarch64, mach-virt, and chr-testdev] ./run_tests.sh

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...