diff options
| author | Thomas Gleixner <[email protected]> | 2023-09-16 19:20:07 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2023-09-18 15:03:46 +0000 |
| commit | 9757acd0a700ba4a0d16dde4ba820eb052aba1a7 (patch) | |
| tree | 159b85fae4ed9c4cd1c7e0774229fde8c86f9ada /drivers/cdx/controller/cdx_controller.c | |
| parent | printk: nbcon: Add emit function and callback function for atomic printing (diff) | |
| download | kernel-9757acd0a700ba4a0d16dde4ba820eb052aba1a7.tar.gz kernel-9757acd0a700ba4a0d16dde4ba820eb052aba1a7.zip | |
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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
