RISE TSC Meeting Notes

RISE TSC Meeting Notes

Jul 24, 2025

Deep Dive Simulator Emulator- Daniel Barboza

  • Completed projects:

    • SE_01_017 - QEMU ACPI SPCR Support for RISC-V

    • SE_01_021 - QEMU RVA23 profile support

    • SE_01_023 - QEMU RISC-V IOMMU Enhancements

      • Available in QEMU 10.0 (released April 2025)

    • SE_02_004 (RP005 - RVV Performance Enhancements)

  • Items under review in the QEMU mailing list:

    • SE_01_003 - WorldGuard support

    • SE_01_004 - IOPMP support

    • SE_01_005 - PCIe passthru on x86 hosts

    • SE_01_018 - ACPI PPTT support for RISC-V

  • SE_01_022 - RISC-V Server SoC Reference Board

    • Dependency on not yet implemented 'sdext' extension

  • Not yet sent for review

    • SE_01_029 - P Extension support

    • E-trace items (SE_01_024, SE_01_025, SE_01_026, SE_01_027)

    • SE_01_028 - ACPI support for IOMMU

System Libraries Deep Dive

  • Overview

    • SL_00_006 mbedTLS by Rick Chen (Andes)

    • SL_01_008  libjpeg-turbo by Filip Wasil (Samsung)

    • SL_00_006 DPDK by SunYuechi (ISCAS)

SL_00_006 : mbedTLS

  • Both RV64 and RV32 Scalar Crypto work is done

SL_01_008 : libjpeg-turbo

SL_00_006 DPDK

  • Sun YueChi from ISCAS’s ongoing work is overlapping with our RFP’s goal around 60~80%.

  • The list of ongoing RTE optimization is pretty much the same. (Red, crossed-out ones).

 

Motion : Withdraw this RFP and let ISCAS take over.

 

Jul 17, 2025

Deep Dive Distro Integration - Brian Harrington

  • Linux Releases of Note

    • Ubuntu 25.04 (RVA20)

    • Red Hat Enterprise Linux 10 (RVA20)

    • Fedora 42 (RVA20)

    • openSUSE Tumbleweed (RVA20)

  • Debian Trixie (RVA20) was (unofficially) to be released in June, (this is critical to subsequent work on Kubernetes)

  • Upcoming release details

    • Ubuntu 25.10 (RVA23)

Deep Dive Deep Dive Compilers and Toolchains - Petr Penzin

“Mid year” update.

 

Complete:

Deep Dive Deep Dive Compilers and Toolchains - Petr Penzin

“Mid year” update.

 

WIP updates:

 

Dropped:

 

Jun 26, 2025

Kernel and Virtualization Working Group Deepdive
Linux-6.16 MW updates - I

  • Linux-6.16-rc1 was released on 8th June 2025

  • Noteworthy stuff merged for Linux-6.16:

    • Linux RISC-V

      • Improved ftrace support

        • Atomic Code patching

        • Avoid stop_machine so that ftrace with preemption enabled

      • SBI v3.0 support starting to land

        • FWFT in kernel, KVM support targeted for next release.

      • HWPROBE support for: Zabha, Vendor extensions (SiFive)

      • ISA extension support: Svinval, Zicbop, Vendor extension (SiFive)

        • Svinval improves the flush performance by ~2x (64 entries)

      • Misaligned access support improvement

Linux-6.16 MW updates - II

 

  • KVM RISC-V

    • Kselftest improvements

    • vcpu reset improvements

  • RISC-V SoC

    • Sophog SG2044/2042

      • Syscon driver, DT 

    • SpacemiT

      • DT changes (GPIO, clock)

    • T-HEAD

      • TH1520 SoC clock

    • SiFive Eswin EIC7700 SoC

      • Cache controller driver

    • Starfive

      • Enabling the usb3 port on the framework laptop mainboard

 

 

2025: Project updates

  • 2025: Recent projects ready for upstreaming

    • LK_01_008 - ACPI RISC-V IOMMU table (RIMT) support

    • LK_01_046 - RPMI Clock driver using SBI MPXY

    • LK_01_053 - System MSI driver using RPMI/SBI MPXY

    • LK_01_009  - Supervisor Software Events (SSE)

    • LK_01_053 - control-flow integrity (CFI) for usermode

  • 2025: Recently upstreamed projects

    • LK_01_044 - Firmware Feature support

 

  • 2025: Development status (06-26-2025, wiki)

  • TBD - 1 (11.11%), ONGOING - 5 (55.55%), COMPLETED - 3 (33.33%), TOTAL - 9

 

  • 2025: Upstreaming status (06-26-2025, wiki)

  • TBD - 4 (44.44%), ONGOING - 5 (55.55%), COMPLETED - 0 (0%), TOTAL - 9

 

RVA23 profile: Discovery updates

  • HWPROBE additions in Linux-6.16

    • Zabha, SiFive (Xsfqmaccdod, Xsfqmaccqoq, Xsfvfnrclipxfqf,Xsfvfwmaccqqq)

 

  • KVM ONE_REG additions in Linux-6.16

  • No updates

 

  • Kernel HWPROBE (06-26-2025, wiki)

    • TBD - 2 (3.1%), NA - 40 (42.55%), COMPLETED - 52 (54.25%), TOTAL - 94

 

  • KVM ONE_REG (06-26-2025, wiki)

    • TBD - 23 (24.47%), NA - 13 (13.83%), COMPLETED - 58 (61.70%), TOTAL - 94

Language Runtimes Working Group Deep Dive

Deep Dive Language Runtimes (1) - Mark Ryan

 

Deep Dive Language Runtimes (2) - Mark Ryan

 

  • Golang

    • Code freeze May 2025

    • Go 1.25 expected August 2025 (plugins,hwprobe,V support in assembler, bitmanip optimisations)

  • Python (RISE’s wheel_builder project)

    • 61 binary packages now available including all torch and vllm CPU dependencies (apart from numba)

  • OpenJDK 25

    • Release planned for September 2025

    • Improved intrinsic and extension Support for Zfa, Zfh, Zfhmin, Zicond, Zvkn

    • Improved peephole optimizations, string comparison, bitwise operations

    • Improved tests and bug fixes + code cleanup and refactoring

  • V8

    • Support rv32 and rv64

    • Has some support for bitmanip and vector

    • Tests pass

    • 2nd tier port, no native builders, issues running some benchmarks

Firmware WG Deep Dive

Jun 19, 2025

Deep Dive System Libraries- Ruinland Chuan-Tzu Tsai 

  • On-going tasks:

    • RFP : DPDK

      • Current discussion bottleneck : RTE functions might have duplicated work in the wild. (OSPP event Gitee)

    • SL_01_008 libjpeg-turbo 

      • Dispute with upstream. Currently Nathan created a RISE gitlab repo to host code. Filip has sent out the MR for review.

    • SL_00_006 mbes-tls : Scalar Crypto optimization for AES part is completed. Will move on to other functions.

    • SL_01_003 FFMpeg  : Almost done, currently under validation.

 

May 29, 2025

Security Software WG Deep-Dive: Robin Randhawa

Timeline of Events (or the story thus far)

  • This is a relatively new Working Group

    • Justification for the WG first pitched to the RISE TSC in June 2024

    • Generally unanimous support

    • Working Group created in August 2024

    • First WG Kick-off meeting in September 2024

    • Monthly meets since then

  • The story arc that has evolved since the WG’s inception

    • Initially: “Security is broad: What is it that we want to do ?”

    • Then: “Let’s look at all the security specific RVIA specs that are frozen/ratified”

    • Then: “Let’s focus on security for embedded first! No! Datacenter/enterprise first!”

    • Then: “Let’s find a common feature subset between embedded and the rest”

    • Then: “Let’s focus on embedded first but choose work that enables the rest too”

    • Finally: “Here’s a break-down of the work we need to do first, let’s talk”

Security Software WG Deep-Dive

Next Steps

  • Complete OP-TEE/OpenSBI work definitions

    • Get reviews done by key stakeholders (Firmware/SecSW WGs)

    • Post review - translate to RISE WG work packages

    • Nominate work package owners

    • Produce RFPs for suitable work to rope in contractors

  • Bring in focus beyond embedded

    • Undergo a similar consensus driven work identification exercise

      • Areas

        • CoVE enablement

          • Qemu, OpenSBI, CoVE RDSM

    • Build work package definitions, get them reviewed

    • Nominate owners, produce RFPs

What has worked well

  • Good, gradual convergence of opinions towards common goals

  • Good cross WG collaboration!

    • Credits

      • Anup Patel (VentanaMicro)

      • Sunil VL (VentanaMicro)

      • Tim Ouyang (AndesTech)

      • Alvin Chang (AndesTech)

      • Ravi Sahita (Rivos)

      • Peter Lin (SiFive)

What has not worked well

  • Everyone is busy!

    • Hard to get timely responses generally speaking

    • Need to constantly push and prod folks…

  • More mailing list interactions needed

    • General tendency to leave discussions until WG monthly meets

    • Will try hard to change this!

  • More enthusiasm needed!

    • Not enough folks attending monthly WG meets

    • Security is a generally dry topic, yes, but it is super important!!!

RISE Developer Infrastructure Update

Developer Infrastructure WG Introduction

  • Charter

    • The Developer Infrastructure WG focuses on software and services to support open-source RISC-V developers - both RISE members and the broader open-source community.

  • Co-chairs

    • Barna Ibrahim (Rivos)

    • Paul Walmsley (SiFive)

  • TSC Chair Contact

    • Nathan Egge (Google)

Developer Infrastructure WG Vision

 

  • Three mutually-supporting projects

    • RISE Build Farm (Active)

    • RISE Board Farm (Active)

    • RISE Developer Tooling (Active)

  • Goal

    • Provide robust development infrastructure and tools to RISC-V developers

RISE Build Farm: Introduction

  • Objective

    • Cross-build and test (in simulation) RISC-V ports of key open source software

  • Running in Hetzner Cloud

  • Björn Töpel (Rivos) coordinating

  • Brian “Redbeard” Harrington (Red Hat): co-admin

  • Status

    • Eight active projects 

      • ~22 active large VM instances on Hetzner Cloud

      • Mostly acting as Github Runner performing cross-compilation/qemu-system-riscv{32,64} tests

Build Farm: Value

  • Thousands of builds, and millions of tests per month on key, foundational RISC-V open source projects

    • GCC, LLVM, Linux kernel, GLIBC, Python

  • > 150 toolchain bugs found via our fuzzer instances

 

Build Farm: 2025Q2 Status (1 of 2)

  • Eight existing projects running

    • RISE GCC pre-commit CI (Patrick O'Neill, Edwin Lu)

    • RISE GCC post-commit CI (Patrick O'Neill, Edwin Lu)

    • RISE GCC fuzzer CI (Patrick O'Neill, Edwin Lu)

    • RISE GCC microcontroller CI (Patrick O'Neill, Edwin Lu)

    • RISE GLIBC pre-commit CI (Patrick O'Neill, Edwin Lu)

    • RISE LLVM fuzzer CI (Patrick O'Neill, Edwin Lu)

    • RISE Linux Kernel CI (Björn Töpel)

    • RISE Python Wheels (Mark Ryan)

 

 

Build Farm: 2025Q2 Status (2 of 2)

  • Hetzner-based servers running smoothly

  • New server utilization dashboard added

    • Thanks to Brian “Redbeard” Harrington / Red Hat

    • Indicates server CPU utilization over time

    • We have some potential scope to improve efficiency

      • Will be reviewing this in the WG over the rest of 2025Q2 and 2025Q3

 

RISE Board Farm: Overview

  • Objectives

    • Provide a range of Linux-capable RISC-V boards to run functionality and performance tests on CI-generated code

    • Investigate feasibility of providing developer access to boards

  • Now that the build farm is stable, much of our focus has shifted to board farm planning

RISE Board Farm: Status

  • Significant planning work has been done in 2025Q2

    • We have a high level proposal that has been discussed with the WG and that has been previously presented to the board

      • More Board Farm Proposal Details

      • Board Farm Policy Considerations

    • Prepared a draft budget request for the 2025 stub year, and presented to the budget committee

      • However, since RISE practices dynamic budget allocation, and the project is not yet ready for formal approval, no actions were taken by the committee

RISE Board Farm: Call to Action

  • Looking for more interest and engagement from RISE board members

    • We set up a WG meeting for questions from the board, but needs more participation

      • Thanks to the board member who did attend!

  • Looking for help from RISE board members