aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2020-05-19 18:21:08 +0000
committerWill Deacon <[email protected]>2020-05-20 08:36:01 +0000
commit472de63b0b8383565e103f809f5df37d1c4390ab (patch)
treed2bc2eb495a0b2e8a8bde740987a2a7104c0d9d4 /tools/perf/scripts/python/event_analyzing_sample.py
parentfirmware: arm_sdei: remove unused interfaces (diff)
downloadkernel-472de63b0b8383565e103f809f5df37d1c4390ab.tar.gz
kernel-472de63b0b8383565e103f809f5df37d1c4390ab.zip
firmware: arm_sdei: Document the motivation behind these set_fs() calls
The SDEI handler save/restores the addr_limit using set_fs(). It isn't very clear why. The reason is to mirror the arch code's entry assembly. The arch code does this because perf may access user-space, and inheriting the addr_limit may be a problem. Add a comment explaining why this is here. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: James Morse <[email protected]> Link: https://bugs.chromium.org/p/project-zero/issues/detail?id=822 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions