Em Thu, May 20, 2021 at 09:08:37AM -0700, Ian Rogers escreveu:
On Sun, May 9, 2021 at 6:26 PM Jin Yao<yao.jin@xxxxxxxxxxxxxxx> wrote:⬢[acme@toolbox perf]$ am
Add JSON core events for Icelake Server to perf.Acked-by: Ian Rogers<irogers@xxxxxxxxxx>
Based on JSON list v1.04
https://download.01.org/perfmon/ICX/
Signed-off-by: Jin Yao<yao.jin@xxxxxxxxxxxxxxx>
Reviewed-by: Andi Kleen<ak@xxxxxxxxxxxxxxx>
Applying: perf vendor events: Add core event list for Icelake Server
error: corrupt patch at line 2771
Patch failed at 0001 perf vendor events: Add core event list for Icelake Server
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
⬢[acme@toolbox perf]$
⬢[acme@toolbox perf]$ git diff
⬢[acme@toolbox perf]$ git am --abort
⬢[acme@toolbox perf]$ patch -p1 < ~/wb/1.patch
patching file tools/perf/pmu-events/arch/x86/icelakex/cache.json
patching file tools/perf/pmu-events/arch/x86/icelakex/floating-point.json
patching file tools/perf/pmu-events/arch/x86/icelakex/frontend.json
patching file tools/perf/pmu-events/arch/x86/icelakex/memory.json
patching file tools/perf/pmu-events/arch/x86/icelakex/other.json
patching file tools/perf/pmu-events/arch/x86/icelakex/pipeline.json
patch: **** malformed patch at line 1927: less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
⬢[acme@toolbox perf]$
Please check.
- Arnaldo