linux-stable/drivers/tty/hvc
Palmer Dabbelt 8b79d4e994 tty: hvc: Don't enable the RISC-V SBI console by default
The new SBI console has the same problem as the old one: there's only
one shared backing hardware and no synchronization, so the two drivers
end up stepping on each other.  This was the same issue the old SBI-0.1
console drivers had, but that was disabled by default when SBI-0.1 was.

So just mark the new driver as nonportable.

Reported-by: Emil Renner Berthing <kernel@esmil.dk>
Fixes: 88ead68e76 ("tty: Add SBI debug console support to HVC SBI driver")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240214153429.16484-2-palmer@rivosinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-19 09:43:33 +01:00
..
Kconfig tty: hvc: Don't enable the RISC-V SBI console by default 2024-02-19 09:43:33 +01:00
Makefile TTY/Serial driver patches for 4.17-rc1 2018-04-04 18:43:49 -07:00
hvc_console.c tty: hvc_console: use flexible array for outbuf 2023-11-25 07:23:17 +00:00
hvc_console.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_dcc.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_irq.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvc_iucv.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_opal.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_riscv_sbi.c RISC-V Patches for the 6.8 Merge Window, Part 4 2024-01-20 11:06:04 -08:00
hvc_rtas.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_udbg.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_vio.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_xen.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvcs.c TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
hvsi.c tty: hvc: convert counts to size_t 2023-08-11 21:12:47 +02:00
hvsi_lib.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00