History log of /kvm-unit-tests/arm/debug.c (Results 1 – 8 of 8)
Revision Date Author Comments
# e526bc78 01-Jul-2023 Andrew Jones <andrew.jones@linux.dev>

Merge branch 'arm/queue' into 'master'

arm/arm64: EFI support, arm64 backtrace support, PMU test improvements, and more

See merge request kvm-unit-tests/kvm-unit-tests!43


# 79521ee7 30-May-2023 Nikos Nikoleris <nikos.nikoleris@arm.com>

arm64: debug: Make inline assembly symbols global

efi binaries need to be compiled with fPIC. To allow symbols defined in
inline assembly to be correctly resolved, this patch makes them globally
vis

arm64: debug: Make inline assembly symbols global

efi binaries need to be compiled with fPIC. To allow symbols defined in
inline assembly to be correctly resolved, this patch makes them globally
visibile to the linker.

Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Signed-off-by: Andrew Jones <andrew.jones@linux.dev>

show more ...


# 7cefda52 12-Dec-2022 Nico Boehr <nrb@linux.ibm.com>

arm: use migrate_once() in migration tests

Some tests already shipped with their own do_migrate() function, remove
it and instead use the new migrate_once() function. The control flow in
the gic tes

arm: use migrate_once() in migration tests

Some tests already shipped with their own do_migrate() function, remove
it and instead use the new migrate_once() function. The control flow in
the gic tests can be simplified due to migrate_once().

Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Message-Id: <20221212111731.292942-5-nrb@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


# dbf4a3c3 01-Feb-2022 Andrew Jones <drjones@redhat.com>

Merge branch 'arm/queue' into 'master'

arm64: Merge arm/queue

See merge request kvm-unit-tests/kvm-unit-tests!23


# 30333fbc 12-Jan-2022 Ricardo Koller <ricarkol@google.com>

arm64: debug: mark test_[bp,wp,ss] as noinline

Clang inlines some functions (like test_ss) which define global labels
in inline assembly (e.g., ss_start). This results in:

arm/debug.c:382:15: e

arm64: debug: mark test_[bp,wp,ss] as noinline

Clang inlines some functions (like test_ss) which define global labels
in inline assembly (e.g., ss_start). This results in:

arm/debug.c:382:15: error: invalid symbol redefinition
asm volatile("ss_start:\n"
^
<inline asm>:1:2: note: instantiated into assembly here
ss_start:
^
1 error generated.

Fix these functions by marking them as "noinline".

Cc: Andrew Jones <drjones@redhat.com>
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# ac97ac81 10-Dec-2021 Ricardo Koller <ricarkol@google.com>

arm64: debug: add a migration test for single-step state

Test the migration of single-step state. Setup single-stepping, migrate,
and check that we are actually single-stepping.

Signed-off-by: Rica

arm64: debug: add a migration test for single-step state

Test the migration of single-step state. Setup single-stepping, migrate,
and check that we are actually single-stepping.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Message-Id: <20211210165804.1623253-4-ricarkol@google.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# 843fa9e2 10-Dec-2021 Ricardo Koller <ricarkol@google.com>

arm64: debug: add a migration test for watchpoint state

Test the migration of watchpoint state. Program as many watchpoints as
possible, migrate, and check that we get the corresponding exceptions.

arm64: debug: add a migration test for watchpoint state

Test the migration of watchpoint state. Program as many watchpoints as
possible, migrate, and check that we get the corresponding exceptions.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Message-Id: <20211210165804.1623253-3-ricarkol@google.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# 69de9b31 10-Dec-2021 Ricardo Koller <ricarkol@google.com>

arm64: debug: add a migration test for breakpoint state

Test the migration of breakpoint state. Program as many breakpoitns as
possible, migrate, and check that we get the corresponding exceptions.

arm64: debug: add a migration test for breakpoint state

Test the migration of breakpoint state. Program as many breakpoitns as
possible, migrate, and check that we get the corresponding exceptions.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Message-Id: <20211210165804.1623253-2-ricarkol@google.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...