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)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
commit2f090863ffad75de06c3c3ee8a86a594ddbf3a58
tree9ea6dfacc75caec89be3cf446c875d897dfccc32
parent98912f6825a5223fd6960f20f598d699e19ff299
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