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/5] Assorted improvements
Date: Mon, 11 Dec 2023 23:37:33 +0530	[thread overview]
Message-ID: <20231211180738.891727-1-apatel@ventanamicro.com> (raw)

This series does various assorted improvements. The patch1 and patch2
improve heap usage by reducing size of struct sbi_tlb_info. The patch3
is fixes PLIC driver for use on platforms with Smepmp. The patch4 and
patch5 improve ecall handlers.

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

Anup Patel (5):
  lib: sbi_tlb: Reduce size of struct sbi_tlb_info
  platform: generic: Fine tune fw_platform_calculate_heap_size()
  lib: utils/irqchip: Add shared MMIO region for PLIC in root domain
  lib: sbi: Allow ecall handlers to directly update register state
  lib: sbi: Remove the SBI_ETRAP error code

 include/sbi/sbi_ecall.h                      | 12 ++-
 include/sbi/sbi_error.h                      |  5 +-
 include/sbi/sbi_platform.h                   | 19 ++---
 include/sbi/sbi_tlb.h                        | 29 ++++---
 include/sbi_utils/irqchip/plic.h             |  1 +
 lib/sbi/sbi_ecall.c                          | 13 +--
 lib/sbi/sbi_ecall_base.c                     | 27 +++---
 lib/sbi/sbi_ecall_cppc.c                     | 13 ++-
 lib/sbi/sbi_ecall_dbcn.c                     |  9 +-
 lib/sbi/sbi_ecall_hsm.c                      |  7 +-
 lib/sbi/sbi_ecall_ipi.c                      |  5 +-
 lib/sbi/sbi_ecall_legacy.c                   | 59 +++++++------
 lib/sbi/sbi_ecall_pmu.c                      | 17 ++--
 lib/sbi/sbi_ecall_rfence.c                   | 21 ++---
 lib/sbi/sbi_ecall_srst.c                     |  5 +-
 lib/sbi/sbi_ecall_susp.c                     |  7 +-
 lib/sbi/sbi_ecall_time.c                     |  5 +-
 lib/sbi/sbi_ecall_vendor.c                   |  8 +-
 lib/sbi/sbi_tlb.c                            | 89 +++++++++++++++-----
 lib/utils/fdt/fdt_helper.c                   |  1 +
 lib/utils/irqchip/plic.c                     |  6 +-
 platform/fpga/ariane/platform.c              |  3 +
 platform/fpga/openpiton/platform.c           |  3 +
 platform/generic/andes/andes_sbi.c           |  7 +-
 platform/generic/include/andes/andes_sbi.h   |  6 +-
 platform/generic/include/platform_override.h |  6 +-
 platform/generic/platform.c                  | 11 ++-
 platform/kendryte/k210/platform.c            |  1 +
 platform/kendryte/k210/platform.h            |  1 +
 platform/nuclei/ux600/platform.c             |  3 +
 platform/template/platform.c                 |  3 +
 31 files changed, 229 insertions(+), 173 deletions(-)

-- 
2.34.1



             reply	other threads:[~2023-12-11 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-11 18:07 Anup Patel [this message]
2023-12-11 18:07 ` [PATCH 1/5] lib: sbi_tlb: Reduce size of struct sbi_tlb_info Anup Patel
2023-12-11 18:16   ` Samuel Holland
2023-12-12  8:58     ` Anup Patel
2023-12-11 18:07 ` [PATCH 2/5] platform: generic: Fine tune fw_platform_calculate_heap_size() Anup Patel
2023-12-11 18:07 ` [PATCH 3/5] lib: utils/irqchip: Add shared MMIO region for PLIC in root domain Anup Patel
2023-12-11 18:07 ` [PATCH 4/5] lib: sbi: Allow ecall handlers to directly update register state Anup Patel
2023-12-11 18:07 ` [PATCH 5/5] lib: sbi: Remove the SBI_ETRAP error code 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=20231211180738.891727-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