Re: [PATCH V2 2/4] perf/x86/amd: AMD implementation for hardwarebreakpoint address mask

From: Oleg Nesterov
Date: Tue Apr 23 2013 - 09:25:23 EST


On 04/23, Jacob Shin wrote:
>
> +int arch_validate_hwbkpt_addr_mask(struct perf_event *bp)
> +{
> + if (!cpu_has_bpext)
> + return -EOPNOTSUPP;

I must have missed something...

But it shouldn't fail if bp_addr_mask == 0?

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/