|
|
Log in / Subscribe / Register

Add early console functionality

From:  Jinglin Wen <jinglin.wen-AT-shingroup.cn>
To:  palmer-AT-dabbelt.com
Subject:  [PATCH 0/3] Add early console functionality
Date:  Wed, 10 Apr 2024 14:31:06 +0800
Message-ID:  <20240410063109.20483-1-jinglin.wen@shingroup.cn>
Cc:  paul.walmsley-AT-sifive.com, aou-AT-eecs.berkeley.edu, gregkh-AT-linuxfoundation.org, atishp-AT-rivosinc.com, linux-kernel-AT-vger.kernel.org, linux-riscv-AT-lists.infradead.org, Jinglin Wen <jinglin.wen-AT-shingroup.cn>
Archive-link:  Article

The following patch series implements support for the early console
on the RISC-V platform.

Jinglin Wen (3):
  riscv: Support for early console.
  riscv: Support SBI as the interface for the RISC-V early console
  riscv: Add information for MAINTAINERS

 MAINTAINERS                            |   6 ++
 arch/riscv/include/asm/early_console.h |  23 ++++++
 arch/riscv/kernel/Makefile             |   1 +
 arch/riscv/kernel/early_console.c      | 108 +++++++++++++++++++++++++
 arch/riscv/kernel/setup.c              |   2 +
 drivers/tty/hvc/Kconfig                |  12 +++
 drivers/tty/hvc/hvc_riscv_sbi.c        |  29 +++++++
 7 files changed, 181 insertions(+)
 create mode 100644 arch/riscv/include/asm/early_console.h
 create mode 100644 arch/riscv/kernel/early_console.c

-- 
2.25.1




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds