]> git.baikalelectronics.ru Git - kernel.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)
committerPawel Moll <pawel.moll@arm.com>
Wed, 17 Aug 2016 09:48:59 +0000 (10:48 +0100)
commit9b0473370f906cabfe3307850d0e2599127f1681
treefcf3a8a6e624c1a440781c0ea549d4adfcf13ce9
parenta2e7a8bf2b1b6b89bee9151e8604f2b11f117230
bus: arm-ccn: Fix XP watchpoint settings bitmask

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.

Cc: stable@vger.kernel.org # 3.17+
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
drivers/bus/arm-ccn.c