[PATCH v3 0/2] arm: enable MTE for QEMU + kvm

Cornelia Huck posted 2 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221026160511.37162-1-cohuck@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
There is a newer version of this series
docs/system/arm/cpu-features.rst |  21 +++++
target/arm/cpu.c                 |  18 ++---
target/arm/cpu.h                 |   1 +
target/arm/cpu64.c               | 133 +++++++++++++++++++++++++++++++
target/arm/internals.h           |   1 +
target/arm/kvm64.c               |   5 ++
target/arm/kvm_arm.h             |  12 +++
target/arm/monitor.c             |   1 +
tests/qtest/arm-cpu-features.c   |  76 ++++++++++++++++++
9 files changed, 256 insertions(+), 12 deletions(-)
[PATCH v3 0/2] arm: enable MTE for QEMU + kvm
Posted by Cornelia Huck 1 year, 6 months ago
After wayyy too long (last version was sent in *July*), a respin of my
kvm/mte series. Still no migration support. I've been hacking around on
a device for transferring tags while stopped, but don't really have anything
to show, probably because I get distra- <ohh, what's that?>

...I guess you get the point :(

Anyway, I wanted to post this as non-RFC; likely too late for 7.2, but maybe
for 8.0 (and I'd get a chance to make at least pre-copy migration work; I'm open
to suggestions for that. Support for post-copy needs kernel-side changes.) Tested
on the FVP models; qtests only on a non-MTE KVM host.

Changes v2->v3:
- rebase to current master
- drop some parts of the qtests that didn't actually work
- really minor stuff
- drop RFC

Cornelia Huck (2):
  arm/kvm: add support for MTE
  qtests/arm: add some mte tests

 docs/system/arm/cpu-features.rst |  21 +++++
 target/arm/cpu.c                 |  18 ++---
 target/arm/cpu.h                 |   1 +
 target/arm/cpu64.c               | 133 +++++++++++++++++++++++++++++++
 target/arm/internals.h           |   1 +
 target/arm/kvm64.c               |   5 ++
 target/arm/kvm_arm.h             |  12 +++
 target/arm/monitor.c             |   1 +
 tests/qtest/arm-cpu-features.c   |  76 ++++++++++++++++++
 9 files changed, 256 insertions(+), 12 deletions(-)

-- 
2.37.3
Re: [PATCH v3 0/2] arm: enable MTE for QEMU + kvm
Posted by Cornelia Huck 1 year, 4 months ago
On Wed, Oct 26 2022, Cornelia Huck <cohuck@redhat.com> wrote:

> After wayyy too long (last version was sent in *July*), a respin of my
> kvm/mte series. Still no migration support. I've been hacking around on
> a device for transferring tags while stopped, but don't really have anything
> to show, probably because I get distra- <ohh, what's that?>
>
> ...I guess you get the point :(
>
> Anyway, I wanted to post this as non-RFC; likely too late for 7.2, but maybe
> for 8.0 (and I'd get a chance to make at least pre-copy migration work; I'm open
> to suggestions for that. Support for post-copy needs kernel-side changes.) Tested
> on the FVP models; qtests only on a non-MTE KVM host.
>
> Changes v2->v3:
> - rebase to current master
> - drop some parts of the qtests that didn't actually work
> - really minor stuff
> - drop RFC
>
> Cornelia Huck (2):
>   arm/kvm: add support for MTE
>   qtests/arm: add some mte tests
>
>  docs/system/arm/cpu-features.rst |  21 +++++
>  target/arm/cpu.c                 |  18 ++---
>  target/arm/cpu.h                 |   1 +
>  target/arm/cpu64.c               | 133 +++++++++++++++++++++++++++++++
>  target/arm/internals.h           |   1 +
>  target/arm/kvm64.c               |   5 ++
>  target/arm/kvm_arm.h             |  12 +++
>  target/arm/monitor.c             |   1 +
>  tests/qtest/arm-cpu-features.c   |  76 ++++++++++++++++++
>  9 files changed, 256 insertions(+), 12 deletions(-)
>

Friendly ping, as 7.2 has been released now... this should still apply
without problems AFAICS. I can also respin, if needed.