From: Anup Patel <apatel@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH v5 0/8] OpenSBI debug console support
Date: Fri, 13 Jan 2023 17:11:02 +0530 [thread overview]
Message-ID: <20230113114110.1916226-1-apatel@ventanamicro.com> (raw)
The latest proposal of SBI debug console extension can be found at:
https://lists.riscv.org/g/tech-prs/message/96
This series implements SBI debug console support in OpenSBI
as-per above draft proposal.
To test these patches corresponding Linux patches can be found in
riscv_sbi_dbcn_v1 branch at: https://github.com/avpatel/linux.git
These patches can also be found in riscv_sbi_dbcn_v5 branch at:
https://github.com/avpatel/opensbi.git
Changes since v4:
- Rebased on latest OpenSBI sources
- Updated Reviewed-by tags
- Added new PATCH8 to speed-up sbi_printf() using nputs()
Changes since v3:
- Rebased on OpenSBI v1.2 release
- Updated Reviewed-by tags
- Added new PATCH3 for sbi_ngets() function
- Updated SBI debug console implementation in PATCH5 as-per latest
proposal having both console write() and read() functions.
Changes since v2:
- Reworked sbi_domain_check_addr_range() in PATCH3 to make it work
for overlapping regions.
Changes since v1:
- New PATCH3 to implement sbi_domain_check_addr_range() function
- Added checks in PATCH4 for location and size of string to print
- New PATCH5 to add console_puts() callback in the console device
- New PATCH6 to implement console_puts() for semihosting
Anup Patel (8):
include: Add defines for SBI debug console extension
lib: sbi: Add sbi_nputs() function
lib: sbi: Add sbi_ngets() function
lib: sbi: Add sbi_domain_check_addr_range() function
lib: sbi: Implement SBI debug console extension
lib: sbi: Add console_puts() callback in the console device
lib: utils/serial: Implement console_puts() for semihosting
lib: sbi: Speed-up sbi_printf() and friends using nputs()
include/sbi/sbi_console.h | 7 +++
include/sbi/sbi_domain.h | 15 +++++++
include/sbi/sbi_ecall_interface.h | 6 +++
lib/sbi/Kconfig | 4 ++
lib/sbi/objects.mk | 3 ++
lib/sbi/sbi_console.c | 64 ++++++++++++++++++++++++---
lib/sbi/sbi_domain.c | 69 +++++++++++++++++++++++++++++
lib/sbi/sbi_ecall_dbcn.c | 72 +++++++++++++++++++++++++++++++
lib/utils/serial/semihosting.c | 33 ++++++++++++++
9 files changed, 266 insertions(+), 7 deletions(-)
create mode 100644 lib/sbi/sbi_ecall_dbcn.c
--
2.34.1
next reply other threads:[~2023-01-13 11:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 11:41 Anup Patel [this message]
2023-01-13 11:41 ` [PATCH v5 1/8] include: Add defines for SBI debug console extension Anup Patel
2023-01-31 17:26 ` Andrew Jones
2023-02-09 16:51 ` Anup Patel
2023-01-13 11:41 ` [PATCH v5 2/8] lib: sbi: Add sbi_nputs() function Anup Patel
2023-01-31 17:32 ` Andrew Jones
2023-02-09 16:59 ` Anup Patel
2023-02-09 17:02 ` Jessica Clarke
2023-01-13 11:41 ` [PATCH v5 3/8] lib: sbi: Add sbi_ngets() function Anup Patel
2023-01-31 17:34 ` Andrew Jones
2023-01-13 11:41 ` [PATCH v5 4/8] lib: sbi: Add sbi_domain_check_addr_range() function Anup Patel
2023-02-01 8:48 ` Andrew Jones
2023-01-13 11:41 ` [PATCH v5 5/8] lib: sbi: Implement SBI debug console extension Anup Patel
2023-02-01 8:58 ` Andrew Jones
2023-02-10 4:23 ` Anup Patel
2023-02-10 5:19 ` Jessica Clarke
2023-02-10 5:29 ` Anup Patel
2023-02-01 9:35 ` Andrew Jones
2023-02-10 4:25 ` Anup Patel
2023-01-13 11:41 ` [PATCH v5 6/8] lib: sbi: Add console_puts() callback in the console device Anup Patel
2023-02-01 9:00 ` Andrew Jones
2023-02-04 13:14 ` Xiang W
2023-02-01 9:30 ` Andrew Jones
2023-02-01 9:37 ` Andrew Jones
2023-01-13 11:41 ` [PATCH v5 7/8] lib: utils/serial: Implement console_puts() for semihosting Anup Patel
2023-02-01 9:03 ` Andrew Jones
2023-01-13 11:41 ` [PATCH v5 8/8] lib: sbi: Speed-up sbi_printf() and friends using nputs() Anup Patel
2023-02-01 9:22 ` Andrew Jones
2023-02-10 5:41 ` Anup Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230113114110.1916226-1-apatel@ventanamicro.com \
--to=apatel@ventanamicro.com \
--cc=opensbi@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox