Re: [PATCH v2 1/7] EDAC/amd64: Support more than two controllers for chip selects handling

2019-07-10 Thread Phillips, Kim
On 7/9/19 4:56 PM, Ghannam, Yazen wrote: > From: Yazen Ghannam > > The struct chip_select array that's used for saving chip select bases > and masks is fixed at length of two. There should be one struct > chip_select for each controller, so this array should be increased to > support systems that

[PATCH] .mailmap: update Kim Phillips' email address

2019-07-02 Thread Phillips, Kim
From: Kim Phillips Patches are being sent with my old arm.com email address on Cc:. This'll help them actually reach my new inbox. Signed-off-by: Kim Phillips --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 0fef932de3db..c1fb8dff5ee5 100644 --- a/.mai

Re: [PATCH] perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64

2019-07-02 Thread Phillips, Kim
On 6/27/19 5:16 AM, Seeteena Thoufeek wrote: > 'probe libc's inet_pton & backtrace it with ping' testcase sometimes > fails on powerpc because distro ping binary does not have symbol > information and thus it prints "[unknown]" function name in the > backtrace. > > Accept "[unknown]" as valid func

[PATCH 2/2 RESEND3] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs

2019-06-28 Thread Phillips, Kim
From: Kim Phillips Fill in the L3 performance event select register ThreadMask bitfield, to enable per hardware thread accounting. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas G

[PATCH 1/2 RESEND3] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs

2019-06-28 Thread Phillips, Kim
From: Kim Phillips Commit d7cbbe49a930 ("perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events") enables L3 PMC events for all threads and slices by writing 1s in ChL3PmcCfg (L3 PMC PERF_CTL) register fields. Those bitfields overlap with high order event select bits in the D

[PATCH 2/2 RESEND2] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs

2019-06-25 Thread Phillips, Kim
From: Kim Phillips Fill in the L3 performance event select register ThreadMask bitfield, to enable per hardware thread accounting. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas G

[PATCH 1/2 RESEND2] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs

2019-06-25 Thread Phillips, Kim
From: Kim Phillips Commit d7cbbe49a930 ("perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events") enables L3 PMC events for all threads and slices by writing 1s in ChL3PmcCfg (L3 PMC PERF_CTL) register fields. Those bitfields overlap with high order event select bits in the D

[PATCH RESEND] perf vendor events amd: add L3 cache events for Family 17h

2019-05-31 Thread Phillips, Kim
From: Kim Phillips Allow users to symbolically specify L3 events for Family 17h processors using the existing AMD Uncore driver. Signed-off-by: Kim Phillips Cc: Janakarajan Natarajan Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Andi Kleen Cc:

[PATCH 1/2 RESEND] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs

2019-05-31 Thread Phillips, Kim
From: Kim Phillips Commit d7cbbe49a930 ("perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events") enables L3 PMC events for all threads and slices by writing 1s in ChL3PmcCfg (L3 PMC PERF_CTL) register fields. Those bitfields overlap with high order event select bits in the D

[PATCH 2/2 RESEND] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs

2019-05-31 Thread Phillips, Kim
From: Kim Phillips Fill in the L3 performance event select register ThreadMask bitfield, to enable per hardware thread accounting. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas G

[PATCH] perf vendor events amd: add L3 cache events for Family 17h

2019-05-22 Thread Phillips, Kim
From: Kim Phillips Allow users to symbolically specify L3 events for Family 17h processors using the existing AMD Uncore driver. Signed-off-by: Kim Phillips Cc: Janakarajan Natarajan Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Andi Kleen Cc:

[PATCH 2/2] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs

2019-05-20 Thread Phillips, Kim
From: Kim Phillips Fill in the L3 performance event select register ThreadMask bitfield, to enable per hardware thread accounting. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas G

[PATCH 1/2] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs

2019-05-20 Thread Phillips, Kim
From: Kim Phillips Commit d7cbbe49a930 ("perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events") enables L3 PMC events for all threads and slices by writing 1s in ChL3PmcCfg (L3 PMC PERF_CTL) register fields. Those bitfields overlap with high order event select bits in the D

[PATCH] MAINTAINERS: include vendor specific files under arch/*/events/*

2019-05-02 Thread Phillips, Kim
From: Kim Phillips Add an explicit subdirectory specification for arch/x86/events/amd to the MAINTAINERS file, to distinguish it from its parent. This will produce the correct set of maintainers for the files found therein. Fixes: 39b0332a2158 ("perf/x86: Move perf_event_amd.c ... => x8

[PATCH] perf/x86/amd: update generic hardware cache events for Family 17h

2019-05-02 Thread Phillips, Kim
From: Kim Phillips Add a new amd_hw_cache_event_ids_f17h assignment structure set for AMD families 17h and above, since a lot has changed. Specifically: L1 Data Cache The data cache access counter remains the same on Family 17h. For DC misses, PMCx041's definition changes with Family 17h, so

[PATCH] x86/events: add event map for AMD Family 17h

2019-03-21 Thread Phillips, Kim
From: Kim Phillips Family 17h differs from prior families by: - not supporting an L2 cache miss event - having re-enumerated PMC counters for: - L2 cache references - front & back end stalled cycles So we add a new amd_f17h_perfmon_event_map so that the generic perf event names will reso