aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-07-28 13:18:40 +0200
committerDaniel Vetter <[email protected]>2015-08-06 14:13:01 +0200
commitc50bfd08d60cefbe1714c4a53b1c325982858549 (patch)
tree4de43ddad4f8af4f396ef02357781a333ba28c17 /tools/perf/scripts/python/syscall-counts.py
parent85f2edf2115d6aa0d7613f96dd3903b8d5f4a56d (diff)
drm/fbdev: Return -EBUSY when oopsing
Trying to do anything with kms drivers when oopsing has become a failing proposition. But since we can end up in the fbdev code simply due to the console unblanking that's done unconditionally just removing our panic handler isn't enough. We need to block all fbdev callbacks when oopsing. There was already one in the blank handler, but it failed silently. That makes it impossible for drivers (like i915) who subclass these functions to figure this out. Instead consistently return -EBUSY so that everyone knows that we really don't want to be bothered right now. This also allows us to remove a pile of FIXMEs from the i915 fbdev code (since due to the failure code they now won't attempt to grab dangerous locks any more). Cc: Dave Airlie <[email protected]> Cc: Rodrigo Vivi <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions