Debian Patches

Status for opensbi/1.7-1

Patch Description Author Forwarded Bugs Origin Last update
include-sbi-fix-swap-errors-with-newer-gcc-Werror-se.patch include: sbi: fix swap errors with newer gcc -Werror=sequence-point

The BSWAPxx() macros are now throwing the following warnings with
newer gcc versions. This is due to throwing an argument in that may
be evaluated more than one (I think) and therefore things like the
example below should be avoided.

Fix by making a set of BSWAPxx() wrappers which specifically only
evaluate 'x' once.

In file included lib/sbi/sbi_mpxy.c:21:
lib/sbi/sbi_mpxy.c: In function ‘sbi_mpxy_write_attrs’:
ib/sbi/sbi_mpxy.c:632:63: error: operation on ‘mem_idx’ may be undefined [-Werror=sequence-point]
632 | attr_val = le32_to_cpu(mem_ptr[mem_idx++]);
| ~~~~~~~^~
Ben Dooks <ben.dooks@codethink.co.uk> no 2025-07-04
platform-starfive-jh7110-Add-starfive-jh7110s-compat.patch platform: starfive: jh7110: Add starfive,jh7110s compatible

Add support for VisionFive 2 Lite board.
Hal Feng <hal.feng@starfivetech.com> no 2025-09-06

All known versions for source package 'opensbi'

Links