[PATCH 5.11 558/601] powerpc/perf: Fix the threshold event selection for memory events in power10