Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753366AbcJLGFR (ORCPT ); Wed, 12 Oct 2016 02:05:17 -0400 Received: from mail-qt0-f174.google.com ([209.85.216.174]:34044 "EHLO mail-qt0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752636AbcJLGFK (ORCPT ); Wed, 12 Oct 2016 02:05:10 -0400 From: Pratyush Anand To: will.deacon@arm.com Cc: linux-arm-kernel@lists.infradead.org, labath@google.com, linux-kernel@vger.kernel.org, jan.kratochvil@redhat.com, onestero@redhat.com, Pratyush Anand Subject: [PATCH 0/4] ARM64: More flexible HW watchpoint Date: Wed, 12 Oct 2016 11:28:02 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 24 Currently, we do not support all the byte select option provided by ARM64 specs for a HW watchpoint. This patch set will help user to instrument a watchpoint with all possible byte select options. Pratyush Anand (4): hw_breakpoint: Allow watchpoint of length 3,5,6 and 7 arm64: Allow hw watchpoint at varied offset from base address arm64: Allow hw watchpoint of length 3,5,6 and 7 selftests: arm64: add test for unaligned watchpoint address handling arch/arm64/include/asm/hw_breakpoint.h | 6 +- arch/arm64/kernel/hw_breakpoint.c | 79 ++++++-- arch/arm64/kernel/ptrace.c | 5 +- include/uapi/linux/hw_breakpoint.h | 4 + tools/include/uapi/linux/hw_breakpoint.h | 4 + tools/testing/selftests/breakpoints/Makefile | 5 +- .../selftests/breakpoints/breakpoint_test_arm64.c | 223 +++++++++++++++++++++ 7 files changed, 300 insertions(+), 26 deletions(-) create mode 100644 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c -- 2.7.4