]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bus: arm-ccn: Fix XP watchpoint settings bitmask
authorPawel Moll <pawel.moll@arm.com>
Wed, 10 Aug 2016 16:06:26 +0000 (17:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:09:34 +0000 (10:09 +0200)
commit1e2416b136cf4a33be1cedce38e0858de4b7cf1d
tree724822a403268d5c4fe4cacbfa24a2fec5a29fbc
parentafb51efa886f5197cd117d26906b6a69e22620da
bus: arm-ccn: Fix XP watchpoint settings bitmask

commit b928466b2169e061822daad48ecf55b005445547 upstream.

The code setting XP watchpoint comparator and mask registers should, in
order to be fully compliant with specification, zero one or more most
significant bits of each field. In both L cases it means zeroing bit 63.
The bitmask doing this was wrong, though, zeroing bit 60 instead.
Fortunately, due to a lucky coincidence, this turned out to be fairly
innocent with the existing hardware.

Fixed now.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/arm-ccn.c