Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-19 Thread Will Deacon
On Mon, Oct 19, 2020 at 01:24:55PM +0100, Mark Rutland wrote: > On Tue, Oct 06, 2020 at 05:13:31PM +0100, Alexandru Elisei wrote: > > On 10/6/20 4:32 PM, Marc Zyngier wrote: > > > On Tue, 06 Oct 2020 16:05:20 +0100, > > > Alexandru Elisei wrote: > > >> From ARM DDI 0487F.b, page D9-2807: > > >> >

Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-19 Thread Marc Zyngier
On 2020-10-19 13:24, Mark Rutland wrote: On Tue, Oct 06, 2020 at 05:13:31PM +0100, Alexandru Elisei wrote: Hi Marc, Thank you for having a look at the patch! On 10/6/20 4:32 PM, Marc Zyngier wrote: > Hi Alex, > > On Tue, 06 Oct 2020 16:05:20 +0100, > Alexandru Elisei wrote: >> From ARM DDI 04

Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-19 Thread Mark Rutland
On Tue, Oct 06, 2020 at 05:13:31PM +0100, Alexandru Elisei wrote: > Hi Marc, > > Thank you for having a look at the patch! > > On 10/6/20 4:32 PM, Marc Zyngier wrote: > > Hi Alex, > > > > On Tue, 06 Oct 2020 16:05:20 +0100, > > Alexandru Elisei wrote: > >> From ARM DDI 0487F.b, page D9-2807: > >

Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-06 Thread Alexandru Elisei
Hi Marc, Thank you for having a look at the patch! On 10/6/20 4:32 PM, Marc Zyngier wrote: > Hi Alex, > > On Tue, 06 Oct 2020 16:05:20 +0100, > Alexandru Elisei wrote: >> From ARM DDI 0487F.b, page D9-2807: >> >> "Although the Statistical Profiling Extension acts as another observer in >> the sy

Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-06 Thread Marc Zyngier
Hi Alex, On Tue, 06 Oct 2020 16:05:20 +0100, Alexandru Elisei wrote: > > From ARM DDI 0487F.b, page D9-2807: > > "Although the Statistical Profiling Extension acts as another observer in > the system, for determining the Shareability domain of the DSB > instructions, the writes of sample record

[PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-06 Thread Alexandru Elisei
>From ARM DDI 0487F.b, page D9-2807: "Although the Statistical Profiling Extension acts as another observer in the system, for determining the Shareability domain of the DSB instructions, the writes of sample records are treated as coming from the PE that is being profiled." Similarly, on page D9