OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anup Patel <apatel@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 0/6] Early console buffer for OpenSBI
Date: Fri,  5 Jul 2024 12:44:58 +0530	[thread overview]
Message-ID: <20240705071504.50988-1-apatel@ventanamicro.com> (raw)

This series tries to improve OpenSBI debugging by:
1) Registering console device via platform early_init()
2) Introducing early console buffer

These patches can also be found in the console_early_probe_v1
branch at: https://github.com/avpatel/opensbi.git

Anup Patel (6):
  platform: Setup serial console device in early_init()
  lib: sbi: Remove sbi_console_init() and console_init() platform
    callback
  lib: sbi: Optimize fifo enqueue/dequeue for basic data types
  lib: sbi: Allow forceful queueing of data in sbi_fifo_enqueue()
  include: sbi: Add macros to create FIFO as local or global variable
  lib: sbi: Introduce an early console buffer for caching early prints

 include/sbi/sbi_console.h          |  2 -
 include/sbi/sbi_fifo.h             | 14 +++++-
 include/sbi/sbi_platform.h         | 17 -------
 lib/sbi/Kconfig                    |  6 ++-
 lib/sbi/sbi_console.c              | 36 ++++++++++-----
 lib/sbi/sbi_fifo.c                 | 72 +++++++++++++++++++++++++-----
 lib/sbi/sbi_init.c                 |  4 --
 lib/sbi/sbi_sse.c                  |  2 +-
 lib/sbi/sbi_tlb.c                  |  3 +-
 platform/fpga/ariane/platform.c    | 26 ++++-------
 platform/fpga/openpiton/platform.c | 20 ++-------
 platform/generic/platform.c        | 21 ++++-----
 platform/kendryte/k210/platform.c  | 18 +++-----
 platform/nuclei/ux600/platform.c   | 18 +++-----
 platform/template/platform.c       | 18 +++-----
 15 files changed, 151 insertions(+), 126 deletions(-)

-- 
2.34.1



             reply	other threads:[~2024-07-05  7:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05  7:14 Anup Patel [this message]
2024-07-05  7:14 ` [PATCH 1/6] platform: Setup serial console device in early_init() Anup Patel
2024-07-24  5:40   ` Himanshu Chauhan
2024-07-05  7:15 ` [PATCH 2/6] lib: sbi: Remove sbi_console_init() and console_init() platform callback Anup Patel
2024-07-24  5:40   ` Himanshu Chauhan
2024-07-05  7:15 ` [PATCH 3/6] lib: sbi: Optimize fifo enqueue/dequeue for basic data types Anup Patel
2024-07-24  5:37   ` Himanshu Chauhan
2024-07-05  7:15 ` [PATCH 4/6] lib: sbi: Allow forceful queueing of data in sbi_fifo_enqueue() Anup Patel
2024-07-24  5:38   ` Himanshu Chauhan
2024-07-05  7:15 ` [PATCH 5/6] include: sbi: Add macros to create FIFO as local or global variable Anup Patel
2024-07-24  5:38   ` Himanshu Chauhan
2024-07-05  7:15 ` [PATCH 6/6] lib: sbi: Introduce an early console buffer for caching early prints Anup Patel
2024-07-24  5:39   ` Himanshu Chauhan
2024-07-08 16:48 ` [PATCH 0/6] Early console buffer for OpenSBI Xiang W
2024-07-09  3:43   ` Anup Patel
2024-07-24  6:50 ` 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=20240705071504.50988-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