Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-08 Thread Marc Zyngier
On Tue, 07 Feb 2023 17:18:27 +, Paul Liu wrote: > > Hi Marc, > > I think you are the author. I'm just making some minor fixes and > then upstreaming to the mailing list. What is the correct way to > make the Signed-off-by list? In general, and unless you have completely rewritten the patch

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Paul Liu
Hi Marc, I think you are the author. I'm just making some minor fixes and then upstreaming to the mailing list. What is the correct way to make the Signed-off-by list? Yours, Paul On Wed, 8 Feb 2023 at 00:35, Marc Zyngier wrote: > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > Exposi

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 05:06:39PM +, Marc Zyngier wrote: > On Tue, 07 Feb 2023 16:40:05 +, > Tom Rini wrote: > > > > On Tue, Feb 07, 2023 at 04:35:25PM +, Marc Zyngier wrote: > > > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > > > Exposing set/way cache maintenance to a vir

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Marc Zyngier
On Tue, 07 Feb 2023 16:40:05 +, Tom Rini wrote: > > On Tue, Feb 07, 2023 at 04:35:25PM +, Marc Zyngier wrote: > > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > > Exposing set/way cache maintenance to a virtual machine is unsafe, not > > > least because the instructions are not p

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 04:35:25PM +, Marc Zyngier wrote: > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > Exposing set/way cache maintenance to a virtual machine is unsafe, not > > least because the instructions are not permission-checked but also > > because they are not broadcast be

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Marc Zyngier
On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: Exposing set/way cache maintenance to a virtual machine is unsafe, not least because the instructions are not permission-checked but also because they are not broadcast between CPUs. Consequently, KVM traps and emulates such maintenance in the

[PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Ying-Chun Liu (PaulLiu)
Exposing set/way cache maintenance to a virtual machine is unsafe, not least because the instructions are not permission-checked but also because they are not broadcast between CPUs. Consequently, KVM traps and emulates such maintenance in the host kernel using by-VA operations and looping over the