Re: [PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB

From: Michael Ellerman
Date: Thu Oct 06 2016 - 17:45:06 EST


wei.guo.simon@xxxxxxxxx writes:

> From: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>
>
> This patch adds ptrace interface test for EBB/PMU specific
> registers. This also adds some generic ptrace interface
> based helper functions to be used by other patches later
> on in the series.

This is consistently failing for me on a P8 Tuleta (pvr 004b 0201):

# ./ptrace-ebb
test: ptrace_ebb_pmu
tags: git_version:v4.8-rc5-176-g89cf1de0ae90
EBBRR: 100059f8
EBBHR: 100053cc; expected: 100053cc
BESCR: 8000000100000000
SIAR: 100012d0
SDAR: 3fff7e4cc000
SIER: 3000000; expected: 2000000
MMCR2: 0; expected: 0
MMCR0: 180000080; expected: 180000080
failure: ptrace_ebb_pmu

cheers