Re: [PATCH 5/5] KVM: arm64: nVHE: Remove unneeded isb() when modifying PMSCR_EL1

2021-07-15 Thread Alexandru Elisei
Hi Will, On 7/14/21 7:20 PM, Will Deacon wrote: > On Wed, Jul 14, 2021 at 10:56:01AM +0100, Alexandru Elisei wrote: >> According to ARM DDI 0487G.a, page D9-2930, profiling is disabled when >> the PE is executing at a higher exception level than the profiling >> buffer owning exception level.

Re: [PATCH 5/5] KVM: arm64: nVHE: Remove unneeded isb() when modifying PMSCR_EL1

2021-07-14 Thread Will Deacon
On Wed, Jul 14, 2021 at 10:56:01AM +0100, Alexandru Elisei wrote: > According to ARM DDI 0487G.a, page D9-2930, profiling is disabled when > the PE is executing at a higher exception level than the profiling > buffer owning exception level. This is also confirmed by the pseudocode > for the

[PATCH 5/5] KVM: arm64: nVHE: Remove unneeded isb() when modifying PMSCR_EL1

2021-07-14 Thread Alexandru Elisei
According to ARM DDI 0487G.a, page D9-2930, profiling is disabled when the PE is executing at a higher exception level than the profiling buffer owning exception level. This is also confirmed by the pseudocode for the StatisticalProfilingEnabled() function. During the world switch and before