diff options
author | Thomas Gleixner <[email protected]> | 2023-09-16 21:26:07 +0206 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2023-09-18 17:03:46 +0200 |
commit | 9757acd0a700ba4a0d16dde4ba820eb052aba1a7 (patch) | |
tree | 159b85fae4ed9c4cd1c7e0774229fde8c86f9ada /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 06653d57ff283be627a2c769139d73ecc487810f (diff) |
printk: nbcon: Allow drivers to mark unsafe regions and check state
For the write_atomic callback, the console driver may have unsafe
regions that need to be appropriately marked. Provide functions
that accept the nbcon_write_context struct to allow for the driver
to enter and exit unsafe regions.
Also provide a function for drivers to check if they are still the
owner of the console.
Co-developed-by: John Ogness <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Signed-off-by: Thomas Gleixner (Intel) <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions