From: Marc Zyngier <maz@kernel.org>
To: Auger Eric <eric.auger@redhat.com>
Cc: kvm@vger.kernel.org, pbonzini@redhat.com, kvmarm@lists.cs.columbia.edu
Subject: Re: [PATCH v2 4/5] KVM: selftests: Add exception handling support for aarch64
Date: Wed, 12 May 2021 09:33:03 +0100 [thread overview]
Message-ID: <348b978aad60db6af7ba9c9ce51bbd87@kernel.org> (raw)
In-Reply-To: <4e83daa3-3166-eeed-840c-39be71b1124d@redhat.com>
On 2021-05-12 09:19, Auger Eric wrote:
> Hi Ricardo,
>
> On 5/12/21 9:27 AM, Ricardo Koller wrote:
>> On Fri, May 07, 2021 at 04:08:07PM +0200, Auger Eric wrote:
>>> Hi Ricardo,
>>>
>>> On 5/6/21 9:14 PM, Ricardo Koller wrote:
>>>> On Thu, May 06, 2021 at 02:30:17PM +0200, Auger Eric wrote:
>>>>> Hi Ricardo,
>>>>>
>>>>
>>>> Hi Eric,
>>>>
>>>> Thank you very much for the test.
>>>>
>>>>> On 5/3/21 9:12 PM, Ricardo Koller wrote:
>>>>>> On Mon, May 03, 2021 at 11:32:39AM +0100, Marc Zyngier wrote:
>>>>>>> On Sat, 01 May 2021 00:24:06 +0100,
>>>>>>> Ricardo Koller <ricarkol@google.com> wrote:
>>>>>>>>
>>>>>>>> Add the infrastructure needed to enable exception handling in
>>>>>>>> aarch64
>>>>>>>> selftests. The exception handling defaults to an
>>>>>>>> unhandled-exception
>>>>>>>> handler which aborts the test, just like x86. These handlers can
>>>>>>>> be
>>>>>>>> overridden by calling vm_install_vector_handler(vector) or
>>>>>>>> vm_install_exception_handler(vector, ec). The unhandled
>>>>>>>> exception
>>>>>>>> reporting from the guest is done using the ucall type introduced
>>>>>>>> in a
>>>>>>>> previous commit, UCALL_UNHANDLED.
>>>>>>>>
>>>>>>>> The exception handling code is heavily inspired on
>>>>>>>> kvm-unit-tests.
>>>>>
>>>>> running the test on 5.12 I get
>>>>>
>>
>> Hi Eric,
>>
>> I'm able to reproduce the failure you are seeing on 5.6, specifically
>> with kernels older than this commit:
>>
>> 4942dc6638b0 KVM: arm64: Write arch.mdcr_el2 changes since last
>> vcpu_load on VHE
>>
>> but not yet on v5.12. Could you share the commit of the kernel you are
>> testing, please?
>
> my host is a 5.12 kernel (8404c9fbc84b)
Time to compare notes then. What HW are you using? Running VHE or not?
Thanks,
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <maz@kernel.org>
To: Auger Eric <eric.auger@redhat.com>
Cc: Ricardo Koller <ricarkol@google.com>,
kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu,
pbonzini@redhat.com, drjones@redhat.com,
alexandru.elisei@arm.com
Subject: Re: [PATCH v2 4/5] KVM: selftests: Add exception handling support for aarch64
Date: Wed, 12 May 2021 09:33:03 +0100 [thread overview]
Message-ID: <348b978aad60db6af7ba9c9ce51bbd87@kernel.org> (raw)
In-Reply-To: <4e83daa3-3166-eeed-840c-39be71b1124d@redhat.com>
On 2021-05-12 09:19, Auger Eric wrote:
> Hi Ricardo,
>
> On 5/12/21 9:27 AM, Ricardo Koller wrote:
>> On Fri, May 07, 2021 at 04:08:07PM +0200, Auger Eric wrote:
>>> Hi Ricardo,
>>>
>>> On 5/6/21 9:14 PM, Ricardo Koller wrote:
>>>> On Thu, May 06, 2021 at 02:30:17PM +0200, Auger Eric wrote:
>>>>> Hi Ricardo,
>>>>>
>>>>
>>>> Hi Eric,
>>>>
>>>> Thank you very much for the test.
>>>>
>>>>> On 5/3/21 9:12 PM, Ricardo Koller wrote:
>>>>>> On Mon, May 03, 2021 at 11:32:39AM +0100, Marc Zyngier wrote:
>>>>>>> On Sat, 01 May 2021 00:24:06 +0100,
>>>>>>> Ricardo Koller <ricarkol@google.com> wrote:
>>>>>>>>
>>>>>>>> Add the infrastructure needed to enable exception handling in
>>>>>>>> aarch64
>>>>>>>> selftests. The exception handling defaults to an
>>>>>>>> unhandled-exception
>>>>>>>> handler which aborts the test, just like x86. These handlers can
>>>>>>>> be
>>>>>>>> overridden by calling vm_install_vector_handler(vector) or
>>>>>>>> vm_install_exception_handler(vector, ec). The unhandled
>>>>>>>> exception
>>>>>>>> reporting from the guest is done using the ucall type introduced
>>>>>>>> in a
>>>>>>>> previous commit, UCALL_UNHANDLED.
>>>>>>>>
>>>>>>>> The exception handling code is heavily inspired on
>>>>>>>> kvm-unit-tests.
>>>>>
>>>>> running the test on 5.12 I get
>>>>>
>>
>> Hi Eric,
>>
>> I'm able to reproduce the failure you are seeing on 5.6, specifically
>> with kernels older than this commit:
>>
>> 4942dc6638b0 KVM: arm64: Write arch.mdcr_el2 changes since last
>> vcpu_load on VHE
>>
>> but not yet on v5.12. Could you share the commit of the kernel you are
>> testing, please?
>
> my host is a 5.12 kernel (8404c9fbc84b)
Time to compare notes then. What HW are you using? Running VHE or not?
Thanks,
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2021-05-12 8:33 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 23:24 [PATCH v2 0/5] KVM: selftests: arm64 exception handling and debug test Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-04-30 23:24 ` [PATCH v2 1/5] KVM: selftests: Rename vm_handle_exception Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-05-03 11:02 ` Andrew Jones
2021-05-03 11:02 ` Andrew Jones
2021-05-06 12:27 ` Auger Eric
2021-05-06 12:27 ` Auger Eric
2021-04-30 23:24 ` [PATCH v2 2/5] KVM: selftests: Introduce UCALL_UNHANDLED for unhandled vector reporting Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-05-03 11:09 ` Andrew Jones
2021-05-03 11:09 ` Andrew Jones
2021-05-06 12:27 ` Auger Eric
2021-05-06 12:27 ` Auger Eric
2021-04-30 23:24 ` [PATCH v2 3/5] KVM: selftests: Move GUEST_ASSERT_EQ to utils header Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-05-03 11:31 ` Andrew Jones
2021-05-03 11:31 ` Andrew Jones
2021-04-30 23:24 ` [PATCH v2 4/5] KVM: selftests: Add exception handling support for aarch64 Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-05-03 10:32 ` Marc Zyngier
2021-05-03 10:32 ` Marc Zyngier
2021-05-03 19:12 ` Ricardo Koller
2021-05-03 19:12 ` Ricardo Koller
2021-05-06 12:30 ` Auger Eric
2021-05-06 12:30 ` Auger Eric
2021-05-06 19:14 ` Ricardo Koller
2021-05-06 19:14 ` Ricardo Koller
2021-05-07 14:08 ` Auger Eric
2021-05-07 14:08 ` Auger Eric
2021-05-07 17:54 ` Ricardo Koller
2021-05-07 17:54 ` Ricardo Koller
2021-05-12 7:27 ` Ricardo Koller
2021-05-12 7:27 ` Ricardo Koller
2021-05-12 8:19 ` Auger Eric
2021-05-12 8:19 ` Auger Eric
2021-05-12 8:33 ` Marc Zyngier [this message]
2021-05-12 8:33 ` Marc Zyngier
2021-05-12 8:52 ` Auger Eric
2021-05-12 8:52 ` Auger Eric
2021-05-12 16:06 ` Ricardo Koller
2021-05-12 16:06 ` Ricardo Koller
2021-05-12 12:59 ` Zenghui Yu
2021-05-12 12:59 ` Zenghui Yu
2021-05-12 13:43 ` Marc Zyngier
2021-05-12 13:43 ` Marc Zyngier
2021-05-12 16:03 ` Ricardo Koller
2021-05-12 16:03 ` Ricardo Koller
2021-05-12 16:18 ` Marc Zyngier
2021-05-12 16:18 ` Marc Zyngier
2021-05-12 21:39 ` Ricardo Koller
2021-05-12 21:39 ` Ricardo Koller
2021-05-07 14:31 ` Marc Zyngier
2021-05-07 14:31 ` Marc Zyngier
2021-05-07 18:02 ` Ricardo Koller
2021-05-07 18:02 ` Ricardo Koller
2021-05-03 12:39 ` Andrew Jones
2021-05-03 12:39 ` Andrew Jones
2021-04-30 23:24 ` [PATCH v2 5/5] KVM: selftests: Add aarch64/debug-exceptions test Ricardo Koller
2021-04-30 23:24 ` Ricardo Koller
2021-05-03 12:49 ` Andrew Jones
2021-05-03 12:49 ` Andrew Jones
2021-05-24 12:14 ` [PATCH v2 0/5] KVM: selftests: arm64 exception handling and debug test Paolo Bonzini
2021-05-24 12:14 ` Paolo Bonzini
2021-05-24 12:59 ` Marc Zyngier
2021-05-24 12:59 ` Marc Zyngier
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=348b978aad60db6af7ba9c9ce51bbd87@kernel.org \
--to=maz@kernel.org \
--cc=eric.auger@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=pbonzini@redhat.com \
/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.