linux/tools/testing/selftests/arm64/abi
Mark Brown cb5aa63794 kselftest/arm64: Add a smoke test for ptracing hardware break/watch points
There was a report that the hardware breakpoints and watch points weren't
reporting the debug architecture version as expected, they were reporting
a version of 0 which is not defined in the architecture.  This happens
when running in a KVM guest if the host has a debug architecture version
not supported by KVM, it in turn confuses GDB which rejects any debug
architecture version it does not know about.

Add a test that covers that situation and while we're at it reports the
debug architecture version and number of slots available to aid with
figuring out problems that may arise.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230414-arm64-test-hw-breakpoint-v2-1-90a19e3b1059@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2023-05-26 10:22:03 +01:00
..
.gitignore Merge branch 'for-next/kselftest' into for-next/core 2022-09-30 09:18:11 +01:00
hwcap.c kselftest/arm64: Add coverage of SME 2 and 2.1 hwcaps 2023-01-20 12:23:09 +00:00
Makefile Merge branch 'for-next/kselftest' into for-next/core 2022-09-30 09:18:11 +01:00
ptrace.c kselftest/arm64: Add a smoke test for ptracing hardware break/watch points 2023-05-26 10:22:03 +01:00
syscall-abi-asm.S Merge branches 'for-next/sysreg', 'for-next/sme', 'for-next/kselftest', 'for-next/misc', 'for-next/sme2', 'for-next/tpidr2', 'for-next/scs', 'for-next/compat-hwcap', 'for-next/ftrace', 'for-next/efi-boot-mmu-on', 'for-next/ptrauth' and 'for-next/pseudo-nmi', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2023-02-10 18:51:49 +00:00
syscall-abi.c Merge branches 'for-next/sysreg', 'for-next/sme', 'for-next/kselftest', 'for-next/misc', 'for-next/sme2', 'for-next/tpidr2', 'for-next/scs', 'for-next/compat-hwcap', 'for-next/ftrace', 'for-next/efi-boot-mmu-on', 'for-next/ptrauth' and 'for-next/pseudo-nmi', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2023-02-10 18:51:49 +00:00
syscall-abi.h kselftest/arm64: Add SME support to syscall ABI test 2022-04-28 17:57:12 +01:00
tpidr2.c kselftest/arm64: Add tests for TPIDR2 2022-04-28 17:57:11 +01:00