diff options
-rw-r--r-- | drivers/bus/arm-ccn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 9bbb0ab275e4..647a27b80eff 100644 --- a/drivers/bus/arm-ccn.c +++ b/drivers/bus/arm-ccn.c | |||
@@ -1003,7 +1003,7 @@ static void arm_ccn_pmu_xp_watchpoint_config(struct perf_event *event) | |||
1003 | 1003 | ||
1004 | /* Comparison values */ | 1004 | /* Comparison values */ |
1005 | writel(cmp_l & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_L(wp)); | 1005 | writel(cmp_l & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_L(wp)); |
1006 | writel((cmp_l >> 32) & 0xefffffff, | 1006 | writel((cmp_l >> 32) & 0x7fffffff, |
1007 | source->base + CCN_XP_DT_CMP_VAL_L(wp) + 4); | 1007 | source->base + CCN_XP_DT_CMP_VAL_L(wp) + 4); |
1008 | writel(cmp_h & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_H(wp)); | 1008 | writel(cmp_h & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_H(wp)); |
1009 | writel((cmp_h >> 32) & 0x0fffffff, | 1009 | writel((cmp_h >> 32) & 0x0fffffff, |
@@ -1011,7 +1011,7 @@ static void arm_ccn_pmu_xp_watchpoint_config(struct perf_event *event) | |||
1011 | 1011 | ||
1012 | /* Mask */ | 1012 | /* Mask */ |
1013 | writel(mask_l & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_L(wp)); | 1013 | writel(mask_l & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_L(wp)); |
1014 | writel((mask_l >> 32) & 0xefffffff, | 1014 | writel((mask_l >> 32) & 0x7fffffff, |
1015 | source->base + CCN_XP_DT_CMP_MASK_L(wp) + 4); | 1015 | source->base + CCN_XP_DT_CMP_MASK_L(wp) + 4); |
1016 | writel(mask_h & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_H(wp)); | 1016 | writel(mask_h & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_H(wp)); |
1017 | writel((mask_h >> 32) & 0x0fffffff, | 1017 | writel((mask_h >> 32) & 0x0fffffff, |