Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-26 Thread James Morse
Hi guys, On 24/06/2020 17:24, Catalin Marinas wrote: > On Wed, Jun 24, 2020 at 03:59:35PM +0100, Steven Price wrote: >> On 24/06/2020 15:21, Catalin Marinas wrote: >>> On Wed, Jun 24, 2020 at 12:16:28PM +0100, Steven Price wrote: On 23/06/2020 18:48, Catalin Marinas wrote: > This causes

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Catalin Marinas
On Wed, Jun 24, 2020 at 03:59:35PM +0100, Steven Price wrote: > On 24/06/2020 15:21, Catalin Marinas wrote: > > On Wed, Jun 24, 2020 at 12:16:28PM +0100, Steven Price wrote: > > > On 23/06/2020 18:48, Catalin Marinas wrote: > > > > On Wed, Jun 17, 2020 at 01:38:42PM +0100, Steven Price wrote: > >

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Steven Price
On 24/06/2020 15:21, Catalin Marinas wrote: On Wed, Jun 24, 2020 at 12:16:28PM +0100, Steven Price wrote: On 23/06/2020 18:48, Catalin Marinas wrote: On Wed, Jun 17, 2020 at 01:38:42PM +0100, Steven Price wrote: These patches add support to KVM to enable MTE within a guest. It is based on

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Catalin Marinas
On Wed, Jun 24, 2020 at 12:16:28PM +0100, Steven Price wrote: > On 23/06/2020 18:48, Catalin Marinas wrote: > > On Wed, Jun 17, 2020 at 01:38:42PM +0100, Steven Price wrote: > > > These patches add support to KVM to enable MTE within a guest. It is > > > based on Catalin's v4 MTE user space

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Peter Maydell
On Wed, 24 Jun 2020 at 12:18, Steven Price wrote: > Ah yes, similar to (1) but much lower overhead ;) That's probably the > best option - it can be hidden in a memcpy_ignoring_tags() function. > However it still means that the VMM can't directly touch the guest's > memory which might cause issues

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Catalin Marinas
On Wed, Jun 24, 2020 at 12:18:46PM +0100, Steven Price wrote: > On 24/06/2020 12:09, Catalin Marinas wrote: > > On Wed, Jun 24, 2020 at 12:03:35PM +0100, Steven Price wrote: > > > On 24/06/2020 11:34, Dave Martin wrote: > > > > On Wed, Jun 24, 2020 at 10:38:48AM +0100, Catalin Marinas wrote: > > >

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Steven Price
On 24/06/2020 12:09, Catalin Marinas wrote: On Wed, Jun 24, 2020 at 12:03:35PM +0100, Steven Price wrote: On 24/06/2020 11:34, Dave Martin wrote: On Wed, Jun 24, 2020 at 10:38:48AM +0100, Catalin Marinas wrote: On Tue, Jun 23, 2020 at 07:05:07PM +0100, Peter Maydell wrote: On Wed, 17 Jun

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Steven Price
On 23/06/2020 18:48, Catalin Marinas wrote: Hi Steven, On Wed, Jun 17, 2020 at 01:38:42PM +0100, Steven Price wrote: These patches add support to KVM to enable MTE within a guest. It is based on Catalin's v4 MTE user space series[1]. [1]

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Catalin Marinas
On Wed, Jun 24, 2020 at 12:03:35PM +0100, Steven Price wrote: > On 24/06/2020 11:34, Dave Martin wrote: > > On Wed, Jun 24, 2020 at 10:38:48AM +0100, Catalin Marinas wrote: > > > On Tue, Jun 23, 2020 at 07:05:07PM +0100, Peter Maydell wrote: > > > > On Wed, 17 Jun 2020 at 13:39, Steven Price

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Steven Price
On 24/06/2020 11:34, Dave Martin wrote: On Wed, Jun 24, 2020 at 10:38:48AM +0100, Catalin Marinas wrote: On Tue, Jun 23, 2020 at 07:05:07PM +0100, Peter Maydell wrote: On Wed, 17 Jun 2020 at 13:39, Steven Price wrote: These patches add support to KVM to enable MTE within a guest. It is based

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Dave Martin
On Wed, Jun 24, 2020 at 10:38:48AM +0100, Catalin Marinas wrote: > On Tue, Jun 23, 2020 at 07:05:07PM +0100, Peter Maydell wrote: > > On Wed, 17 Jun 2020 at 13:39, Steven Price wrote: > > > These patches add support to KVM to enable MTE within a guest. It is > > > based on Catalin's v4 MTE user

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-24 Thread Catalin Marinas
On Tue, Jun 23, 2020 at 07:05:07PM +0100, Peter Maydell wrote: > On Wed, 17 Jun 2020 at 13:39, Steven Price wrote: > > These patches add support to KVM to enable MTE within a guest. It is > > based on Catalin's v4 MTE user space series[1]. > > > > [1]

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-23 Thread Peter Maydell
On Wed, 17 Jun 2020 at 13:39, Steven Price wrote: > > These patches add support to KVM to enable MTE within a guest. It is > based on Catalin's v4 MTE user space series[1]. > > [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com > > Posting as an RFC as I'd like feedback

Re: [RFC PATCH 0/2] MTE support for KVM guest

2020-06-23 Thread Catalin Marinas
Hi Steven, On Wed, Jun 17, 2020 at 01:38:42PM +0100, Steven Price wrote: > These patches add support to KVM to enable MTE within a guest. It is > based on Catalin's v4 MTE user space series[1]. > > [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com > > Posting as an

[RFC PATCH 0/2] MTE support for KVM guest

2020-06-17 Thread Steven Price
These patches add support to KVM to enable MTE within a guest. It is based on Catalin's v4 MTE user space series[1]. [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com Posting as an RFC as I'd like feedback on the approach taken. First a little background on how MTE