[N/U][PATCH 2/6] UBUNTU: [Config] Enable CONFIG_SERIAL_8250_DW on riscv64

Emil Renner Berthing emil.renner.berthing at canonical.com
Wed Apr 3 11:08:33 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/1975592
BugLink: https://bugs.launchpad.net/bugs/2013232

Several RISC-V boards needs this for early serial output, crucial for
debugging boot problems.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
Acked-by: Roxana Nicolescu <roxana.nicolescu at canonical.com>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
---
 debian.master/config/annotations | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index b1ee485068e1..87bce24869c7 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -606,6 +606,9 @@ CONFIG_SECURITY_APPARMOR_RESTRICT_USERNS        note<'LP: #1990064'>
 CONFIG_SECURITY_SAFESETID                       policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_SECURITY_SAFESETID                       note<'LP: #1845391'>
 
+CONFIG_SERIAL_8250_DW                           policy<{'amd64': 'm', 'arm64': 'y', 'armhf': 'm', 'ppc64el': 'm', 'riscv64': 'y'}>
+CONFIG_SERIAL_8250_DW                           note<'several RISC-V boards needs this for console output'>
+
 CONFIG_SERIAL_8250_MID                          policy<{'amd64': 'y'}>
 CONFIG_SERIAL_8250_MID                          note<'required to provide console on some Intel SoC platforms (LP: #2009283)'>
 
@@ -11984,7 +11987,6 @@ CONFIG_SERIAL_8250_DEPRECATED_OPTIONS           policy<{'amd64': 'n', 'arm64': '
 CONFIG_SERIAL_8250_DETECT_IRQ                   policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n'}>
 CONFIG_SERIAL_8250_DFL                          policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'n', 'riscv64': 'm'}>
 CONFIG_SERIAL_8250_DMA                          policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y'}>
-CONFIG_SERIAL_8250_DW                           policy<{'amd64': 'm', 'arm64': 'y', 'armhf': 'm', 'ppc64el': 'm', 'riscv64': 'm'}>
 CONFIG_SERIAL_8250_DWLIB                        policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y'}>
 CONFIG_SERIAL_8250_EM                           policy<{'arm64': 'n', 'armhf': 'n', 'riscv64': 'n'}>
 CONFIG_SERIAL_8250_EXAR                         policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm', 'riscv64': 'm'}>
-- 
2.43.0




More information about the kernel-team mailing list