summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2025-05-15 16:58:39 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2025-05-15 21:06:02 +0200
commitbc740420d7ae7878696d5ad9f3dbcb11e2599b2e (patch)
treea37cecc5c3d51e5f855c2360b5237eed7a088d2a /tools/perf/scripts/python/check-perf-trace.py
parent8c992e24a0627a6ba508184c07766862c8bb3e54 (diff)
downloadkernel-bc740420d7ae7878696d5ad9f3dbcb11e2599b2e.tar.gz
x86/resctrl: Drop __init/__exit on assorted symbols
Because ARM's MPAM controls are probed using MMIO, resctrl can't be initialised until enough CPUs are online to have determined the system-wide supported num_closid. Arm64 also supports 'late onlined secondaries', where only a subset of CPUs are online during boot. These two combine to mean the MPAM driver may not be able to initialise resctrl until user-space has brought 'enough' CPUs online. To allow MPAM to initialise resctrl after __init text has been free'd, remove all the __init markings from resctrl. The existing __exit markings cause these functions to be removed by the linker as it has never been possible to build resctrl as a module. MPAM has an error interrupt which causes the driver to reset and disable itself. Remove the __exit markings to allow the MPAM driver to tear down resctrl when an error occurs. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Reviewed-by: Tony Luck <tony.luck@intel.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Carl Worth <carl@os.amperecomputing.com> # arm64 Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Peter Newman <peternewman@google.com> Tested-by: Amit Singh Tomar <amitsinght@marvell.com> # arm64 Tested-by: Shanker Donthineni <sdonthineni@nvidia.com> # arm64 Tested-by: Babu Moger <babu.moger@amd.com> Tested-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/20250515165855.31452-10-james.morse@arm.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
Merge tag 'iio-for-4.12d' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman 2017-04-10Merge 4.11-rc6 into staging-nextGreg Kroah-Hartman 2017-04-08iio: hid-sensor: Fix unbalanced pm_runtime_enable errorSrinivas Pandruvada 2017-04-08iio: hid-sensor: Store restore poll and hysteresis on S3Srinivas Pandruvada 2017-04-03Merge tag 'iio-for-4.12c' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman 2017-04-02iio: hid-sensor-attributes: Fix sensor property setting failure.Song Hongyan 2017-03-27Merge 4.11-rc4 into staging-nextGreg Kroah-Hartman 2017-03-25iio: hid: Add humidity sensor supportSong Hongyan 2017-03-25iio: hid-sensor-attributes: Fix gravity sensor scale value not right issueSong Hongyan 2017-03-05iio: hid-sensor-trigger: Change get poll value function order to avoid sensor...Song Hongyan 2017-03-04iio: hid: Add temperature sensor supportSong Hongyan 2016-12-03iio: accel: hid-sensor-accel-3d: Add timestampSrinivas Pandruvada 2016-11-14Merge 4.9-rc5 into staging-nextGreg Kroah-Hartman 2016-11-05iio: hid-sensors: Increase the precision of scale to fix wrong reading interp...Song Hongyan 2016-11-05iio: hid-sensor-attributes: Check sample_frequency/hysteresis write data legi...Song Hongyan 2016-09-14Merge tag 'iio-for-4.9b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic...Greg Kroah-Hartman