Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499712

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

From Simon Guo <wei.guo.simon@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB
Date 2016-10-12 16:10 +0200
Message-ID <srsoh-5uN-11@gated-at.bofh.it> (permalink)
References <smVTX-4fD-3@gated-at.bofh.it> <smVTY-4fD-19@gated-at.bofh.it> <spoI9-6CY-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 07, 2016 at 08:44:48AM +1100, Michael Ellerman wrote:
> wei.guo.simon@gmail.com writes:
> 
> > From: Anshuman Khandual <khandual@linux.vnet.ibm.com>
> >
> > 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
Michael,

Yes.. SIER has different value in baremetal and virtual machine
due to different MSR[HV] value.  I will correct it. Originally I only
tested in virtual BE/LE machines.

Currently all tests cases (with fix) passed on one baremetal P8 machine 
with LE OS installed.  And I will try to find another baremetal with BE 
OS installed to test.

Thanks for indicating it.

BR,
Simon

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB wei.guo.simon@gmail.com - 2016-09-30 04:40 +0200
  Re: [PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB Michael Ellerman <mpe@ellerman.id.au> - 2016-10-06 23:50 +0200
    Re: [PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB Simon Guo <wei.guo.simon@gmail.com> - 2016-10-12 16:10 +0200

csiph-web