arm64: debug: Treat the BRPs/WRPs as unsigned
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Wed, 18 Nov 2015 17:08:58 +0000 (17:08 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 26 Nov 2015 18:08:36 +0000 (18:08 +0000)
commit1944bf8e78b7178f8ebfeefaced738ce1d111a4c
treef82b8e3ada07b28f43a07052bca45c0b275f5067
parent4f0a606bce5ecd3a8210e896c33f41d1bf7f752f
arm64: debug: Treat the BRPs/WRPs as unsigned

IDAA64DFR0_EL1: BRPs and WRPs are unsigned values. Use
the appropriate helpers to extract those fields.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/hw_breakpoint.h