[PATCH 6.1 313/313] perf/x86/amd: fix potential integer overflow on shift of a int