diff options
| author | Robin Murphy <robin.murphy@arm.com> | 2025-11-04 18:29:40 +0000 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2025-11-07 13:42:46 +0000 |
| commit | 2d7a824807015209de4dd58c7ac240c5a276753e (patch) | |
| tree | 68beb29b74d89c3866bf2369df13532c4111bf5e /scripts/livepatch/init.c | |
| parent | 989b40b7578a2be7b0388522d33d751b257d59d9 (diff) | |
perf/arm-ni: Fix and optimise register offset calculation
LKP points out an operator precedence oversight in the new NoC S3
support that, annoyingly, my local W=1 build didn't flag. In fixing
that, we can also take the similarly-missed opportunity to cache the
version check itself at event_init time.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511041749.ok8zDP6u-lkp@intel.com/
Fixes: 8fa08f8835e5 ("perf/arm-ni: Add NoC S3 support")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions
