arm64: compat: Allow single-byte watchpoints on all addresses
authorWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 10:06:17 +0000 (11:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:51:50 +0000 (10:51 +0200)
commita953b4419f45a2f1496eb345c050baeb2936d0cc
tree8fcb4e8a0487eb14b2b862f50a8b588802be995d
parent6c1dc8f96b54ad9e63ef3becac73750a588abe6e
arm64: compat: Allow single-byte watchpoints on all addresses

commit 849adec41203ac5837c40c2d7e08490ffdef3c2c upstream.

Commit d968d2b801d8 ("ARM: 7497/1: hw_breakpoint: allow single-byte
watchpoints on all addresses") changed the validation requirements for
hardware watchpoints on arch/arm/. Update our compat layer to implement
the same relaxation.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/hw_breakpoint.c