Re: [PATCH V9 00/10] arm64/perf: Enable branch stack sampling

From: Anshuman Khandual
Date: Mon May 15 2023 - 02:24:30 EST




On 4/11/23 18:33, Will Deacon wrote:
> Hi Anshuman
>
> On Wed, Mar 15, 2023 at 10:44:34AM +0530, Anshuman Khandual wrote:
>> This series enables perf branch stack sampling support on arm64 platform
>> via a new arch feature called Branch Record Buffer Extension (BRBE). All
>> relevant register definitions could be accessed here.
>>
>> https://developer.arm.com/documentation/ddi0601/2021-12/AArch64-Registers
>>
>> This series applies on 6.3-rc1 after applying the following patch from Mark
>> which allows enums in SysregFields blocks in sysreg tools.
>>
>> https://lore.kernel.org/all/20230306114836.2575432-1-mark.rutland@xxxxxxx/
>
> As mentioned by Mark at:
>
> https://lore.kernel.org/r/ZB2sGrsbr58ttoWI@FVFF77S0Q05N
>
> this conflicts with supporting PMUv3 on AArch32. Please can you rebase onto
> for-next/perf, which will mean moving this driver back into drivers/perf/
> now?

Hi Will,

I am back from a long vacation, will go through the earlier discussions
on this and rework the series as required.

- Anshuman