All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: James Clark <james.clark@arm.com>
Cc: linux-perf-users@vger.kernel.org,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	linux-kernel@vger.kernel.org, bpf@vger.kernel.org
Subject: Re: [PATCH v2 0/4] Add VG register attr test with kernel version and feature detection
Date: Wed, 14 Dec 2022 11:38:26 -0300	[thread overview]
Message-ID: <Y5nf4pIkqVeYd5Hg@kernel.org> (raw)
In-Reply-To: <634087f2-1a7a-0f61-51e8-9e6068d59e9d@arm.com>

Em Tue, Dec 13, 2022 at 03:30:37PM +0000, James Clark escreveu:
> 
> 
> On 13/12/2022 14:51, Arnaldo Carvalho de Melo wrote:
> > Em Tue, Dec 13, 2022 at 11:47:35AM +0000, James Clark escreveu:
> >> I didn't get any feedback on the RFC version of this that I posted a
> >> while back [1]. I'd still like to add the test, especially now that
> >> 6.1 has been released with this new feature, so I've rebased it onto
> >> perf/core and double checked that it's still working.
> >>
> >> Applies to perf/core (0c3852adae83)
> > 
> > I'm applying this locally, would this be testable on a Firefly (roc-rk3399-pc):
> 
> Thanks Arnaldo. It doesn't look like rk3399 has SVE, so
> test-record-user-regs-no-sve-aarch64 will run to check that the kernel
> won't give you the new register. So I suppose the answer to the question
> is partially.
> 
> For test-record-user-regs-sve-aarch64, I've been running it on a
> Graviton 3 on AWS which has SVE:
> 
>   ubuntu@ip-10-252-130-213:~/linux$ head /proc/cpuinfo
>   processor	: 0
>   BogoMIPS	: 2100.00
>   Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
> asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp
> sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs paca pacg dcpodp svei8mm
> svebf16 i8mm bf16 dgh rng
>   CPU implementer	: 0x41
>   CPU architecture: 8
>   CPU variant	: 0x1
>   CPU part	: 0xd40
>   CPU revision	: 1
> 
>   processor	: 1

Indeed:

root@roc-rk3399-pc:~# perf test -v _attr
 17: Setup struct perf_event_attr                                    :
--- start ---
test child forked, pid 30139
Using CPUID 0x00000000410fd080
/home/acme/libexec/perf-core/tests/attr.py:155: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in Python 3.12. Use ConfigParser directly instead.
  parser = configparser.SafeConfigParser()
running '/home/acme/libexec/perf-core/tests/attr/test-record-C0'
/home/acme/libexec/perf-core/tests/attr.py:250: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in Python 3.12. Use ConfigParser directly instead.
  parser_event = configparser.SafeConfigParser()
/home/acme/libexec/perf-core/tests/attr.py:264: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in Python 3.12. Use ConfigParser directly instead.
  parser_base = configparser.SafeConfigParser()
running '/home/acme/libexec/perf-core/tests/attr/test-record-basic'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-any'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-any'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any_call'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any_call'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any_ret'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-any_ret'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-hv'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-hv'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-ind_call'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-ind_call'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-k'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-k'
running '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-u'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-branch-filter-u'
running '/home/acme/libexec/perf-core/tests/attr/test-record-count'
running '/home/acme/libexec/perf-core/tests/attr/test-record-data'
running '/home/acme/libexec/perf-core/tests/attr/test-record-freq'
running '/home/acme/libexec/perf-core/tests/attr/test-record-graph-default'
test limitation '!aarch64'
excluded architecture list ['aarch64']
skipped [aarch64] '/home/acme/libexec/perf-core/tests/attr/test-record-graph-default'
running '/home/acme/libexec/perf-core/tests/attr/test-record-graph-default-aarch64'
test limitation 'aarch64'
running '/home/acme/libexec/perf-core/tests/attr/test-record-graph-dwarf'
running '/home/acme/libexec/perf-core/tests/attr/test-record-graph-fp'
test limitation '!aarch64'
excluded architecture list ['aarch64']
skipped [aarch64] '/home/acme/libexec/perf-core/tests/attr/test-record-graph-fp'
running '/home/acme/libexec/perf-core/tests/attr/test-record-graph-fp-aarch64'
test limitation 'aarch64'
running '/home/acme/libexec/perf-core/tests/attr/test-record-group'
running '/home/acme/libexec/perf-core/tests/attr/test-record-group-sampling'
running '/home/acme/libexec/perf-core/tests/attr/test-record-group1'
running '/home/acme/libexec/perf-core/tests/attr/test-record-group2'
running '/home/acme/libexec/perf-core/tests/attr/test-record-no-buffering'
running '/home/acme/libexec/perf-core/tests/attr/test-record-no-inherit'
running '/home/acme/libexec/perf-core/tests/attr/test-record-no-samples'
running '/home/acme/libexec/perf-core/tests/attr/test-record-period'
running '/home/acme/libexec/perf-core/tests/attr/test-record-pfm-period'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-pfm-period'
running '/home/acme/libexec/perf-core/tests/attr/test-record-raw'
running '/home/acme/libexec/perf-core/tests/attr/test-record-spe-period'
test limitation 'aarch64'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-spe-period'
running '/home/acme/libexec/perf-core/tests/attr/test-record-spe-period-term'
test limitation 'aarch64'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-spe-period-term'
running '/home/acme/libexec/perf-core/tests/attr/test-record-spe-physical-address'
test limitation 'aarch64'
unsupp  '/home/acme/libexec/perf-core/tests/attr/test-record-spe-physical-address'
running '/home/acme/libexec/perf-core/tests/attr/test-record-user-regs-no-sve-aarch64'
test limitation 'aarch64'
running '/home/acme/libexec/perf-core/tests/attr/test-record-user-regs-old-sve-aarch64'
test limitation 'aarch64'
skipped [new kernel skip] '/home/acme/libexec/perf-core/tests/attr/test-record-user-regs-old-sve-aarch64'
running '/home/acme/libexec/perf-core/tests/attr/test-record-user-regs-sve-aarch64'
test limitation 'aarch64'
skipped [auxv skip] '/home/acme/libexec/perf-core/tests/attr/test-record-user-regs-sve-aarch64'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-C0'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-basic'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-default'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-detailed-1'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-detailed-2'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-detailed-3'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-group'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-group1'
running '/home/acme/libexec/perf-core/tests/attr/test-stat-no-inherit'
test child finished with 0
---- end ----
Setup struct perf_event_attr: Ok
root@roc-rk3399-pc:~#

      reply	other threads:[~2022-12-14 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-13 11:47 [PATCH v2 0/4] Add VG register attr test with kernel version and feature detection James Clark
2022-12-13 11:47 ` [PATCH v2 1/4] perf test: Add ability to test exit code for attr tests James Clark
2022-12-13 11:47 ` [PATCH v2 2/4] perf test: Add mechanism for skipping attr tests on auxiliary vector values James Clark
2022-12-13 11:47 ` [PATCH v2 3/4] perf test: Add mechanism for skipping attr tests on kernel versions James Clark
2022-12-13 11:47 ` [PATCH v2 4/4] perf test arm64: Add attr tests for new VG register James Clark
2022-12-13 14:51 ` [PATCH v2 0/4] Add VG register attr test with kernel version and feature detection Arnaldo Carvalho de Melo
2022-12-13 15:30   ` James Clark
2022-12-14 14:38     ` Arnaldo Carvalho de Melo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y5nf4pIkqVeYd5Hg@kernel.org \
    --to=acme@kernel.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=bpf@vger.kernel.org \
    --cc=james.clark@arm.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.