On Mon, 12 Apr 2021 16:52:14 +0530, Ravi Bangoria wrote:
Power10 introduced 2nd watchpoint (DAWR). ISA 3.1, Book 3S, Ch 9 - 'Debug Facilities' covers the feature in detail. Kernel patches to enable the 2nd DAWR are already in[1], including kvm enablement[2]. These patches adds selftests for 2nd DAWR.
[...]
Applied to powerpc/next.
[1/4] powerpc/selftests/ptrace-hwbreak: Add testcases for 2nd DAWR https://git.kernel.org/powerpc/c/dae4ff8031b49af4721101d6298fc14cb9c16a4c [2/4] powerpc/selftests/perf-hwbreak: Coalesce event creation code https://git.kernel.org/powerpc/c/c9cb0afb4eaa03801322f48dad4093979ff45e88 [3/4] powerpc/selftests/perf-hwbreak: Add testcases for 2nd DAWR https://git.kernel.org/powerpc/c/c65c64cc7bbd273121edf96a7a5a0269038ab454 [4/4] powerpc/selftests: Add selftest to test concurrent perf/ptrace events https://git.kernel.org/powerpc/c/290f7d8ce2b1eea5413bb120e0d9d610675b7fba
cheers