From: Auger Eric <eric.auger@redhat.com>
To: Alexandru Elisei <alexandru.elisei@arm.com>,
eric.auger.pro@gmail.com, kvm@vger.kernel.org,
kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org,
drjones@redhat.com, andrew.murray@arm.com, sudeep.holla@arm.com,
maz@kernel.org, will@kernel.org, haibo.xu@linaro.org
Subject: Re: [kvm-unit-tests RFC 0/4] KVM: arm64: Statistical Profiling Extension Tests
Date: Tue, 1 Sep 2020 12:49:59 +0200 [thread overview]
Message-ID: <817f34fb-9476-e3b8-d9a1-bebf6be11683@redhat.com> (raw)
In-Reply-To: <b5eb2cd0-9798-6e40-7690-78992eca30fd@arm.com>
Hi Alexandru,
On 9/1/20 11:24 AM, Alexandru Elisei wrote:
> Hi Eric,
>
> These patches are extremely welcome! I took over the KVM SPE patches from Andrew
> Murray, and I was working on something similar to help with development.
Cool.
>
> The KVM series on the public mailing list work only by chance because it is
> impossible to reliably map the SPE buffer at EL2 when profiling triggers a stage 2
> data abort. That's because the DABT is reported asynchronously via the buffer
> management interrupt and the faulting IPA is not reported anywhere. I'm trying to
> fix this issue in the next iteration of the series, and then I'll come back to
> your patches for review and testing.
Sure. Looking forward to reviewing your respin.
Thanks
Eric
>
> Thanks,
>
> Alex
>
> On 8/31/20 8:34 PM, Eric Auger wrote:
>> This series implements tests exercising the Statistical Profiling
>> Extensions.
>>
>> This was tested with associated unmerged kernel [1] and QEMU [2]
>> series.
>>
>> Depending on the comments, I can easily add other tests checking
>> more configs, additional events and testing migration too. I hope
>> this can be useful when respinning both series.
>>
>> All SPE tests can be launched with:
>> ./run_tests.sh -g spe
>> Tests also can be launched individually. For example:
>> ./arm-run arm/spe.flat -append 'spe-buffer'
>>
>> The series can be found at:
>> https://github.com/eauger/kut/tree/spe_rfc
>>
>> References:
>> [1] [PATCH v2 00/18] arm64: KVM: add SPE profiling support
>> [2] [PATCH 0/7] target/arm: Add vSPE support to KVM guest
>>
>> Eric Auger (4):
>> arm64: Move get_id_aa64dfr0() in processor.h
>> spe: Probing and Introspection Test
>> spe: Add profiling buffer test
>> spe: Test Profiling Buffer Events
>>
>> arm/Makefile.common | 1 +
>> arm/pmu.c | 1 -
>> arm/spe.c | 463 ++++++++++++++++++++++++++++++++++++++
>> arm/unittests.cfg | 24 ++
>> lib/arm64/asm/barrier.h | 1 +
>> lib/arm64/asm/processor.h | 5 +
>> 6 files changed, 494 insertions(+), 1 deletion(-)
>> create mode 100644 arm/spe.c
>>
>
prev parent reply other threads:[~2020-09-01 10:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 19:34 [kvm-unit-tests RFC 0/4] KVM: arm64: Statistical Profiling Extension Tests Eric Auger
2020-08-31 19:34 ` [kvm-unit-tests RFC 1/4] arm64: Move get_id_aa64dfr0() in processor.h Eric Auger
2020-08-31 19:34 ` [kvm-unit-tests RFC 2/4] spe: Probing and Introspection Test Eric Auger
2020-08-31 19:34 ` [kvm-unit-tests RFC 3/4] spe: Add profiling buffer test Eric Auger
2020-08-31 19:34 ` [kvm-unit-tests RFC 4/4] spe: Test Profiling Buffer Events Eric Auger
2020-09-01 7:34 ` Auger Eric
2020-09-01 9:24 ` [kvm-unit-tests RFC 0/4] KVM: arm64: Statistical Profiling Extension Tests Alexandru Elisei
2020-09-01 10:49 ` Auger Eric [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=817f34fb-9476-e3b8-d9a1-bebf6be11683@redhat.com \
--to=eric.auger@redhat.com \
--cc=alexandru.elisei@arm.com \
--cc=andrew.murray@arm.com \
--cc=drjones@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=haibo.xu@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=maz@kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=sudeep.holla@arm.com \
--cc=will@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).