UPSTREAM: arm64: Allow hw watchpoint of length 3,5,6 and 7
authorPratyush Anand <panand@redhat.com>
Mon, 14 Nov 2016 14:02:45 +0000 (19:32 +0530)
committerPavel Labath <labath@google.com>
Fri, 3 Feb 2017 17:43:54 +0000 (17:43 +0000)
commitedc166a8714b012a3dd207e437c772ae2a264eca
treee801f6b4585a93fcd09b0fd9088681ae70b98bd3
parentb48318f371e8a8b98238deac868bc7af8ed8ba4b
UPSTREAM: arm64: Allow hw watchpoint of length 3,5,6 and 7

(cherry picked from commit 0ddb8e0b784ba034f3096d5a54684d0d73155e2a)

Since, arm64 can support all offset within a double word limit. Therefore,
now support other lengths within that range as well.

Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pavel Labath <labath@google.com>
Change-Id: Ibcb263a3903572336ccbf96e0180d3990326545a
Bug: 30919905
arch/arm64/include/asm/hw_breakpoint.h
arch/arm64/kernel/hw_breakpoint.c