Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opensbi for openSUSE:Factory checked in at 2026-01-09 17:03:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opensbi (Old) and /work/SRC/openSUSE:Factory/.opensbi.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensbi" Fri Jan 9 17:03:37 2026 rev:18 rq:1325987 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/opensbi/opensbi.changes 2025-12-30 12:01:36.395621461 +0100 +++ /work/SRC/openSUSE:Factory/.opensbi.new.1928/opensbi.changes 2026-01-09 17:04:50.739358398 +0100 @@ -1,0 +2,7 @@ +Thu Jan 8 13:45:42 UTC 2026 - Andreas Schwab <[email protected]> + +- Update to opensbi 1.8.1 + * Typo fix in comments of sbi_hartindex_to_hartid() + * Fix hart protection abstraction for platforms without PMP + +------------------------------------------------------------------- Old: ---- opensbi-1.8.tar.gz New: ---- opensbi-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opensbi.spec ++++++ --- /var/tmp/diff_new_pack.gNXZD2/_old 2026-01-09 17:04:51.683397626 +0100 +++ /var/tmp/diff_new_pack.gNXZD2/_new 2026-01-09 17:04:51.695398124 +0100 @@ -1,7 +1,7 @@ # # spec file for package opensbi # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %else Name: opensbi-%{target} %endif -Version: 1.8 +Version: 1.8.1 Release: 0 Summary: RISC-V Open Source Supervisor Binary Interface License: BSD-2-Clause ++++++ opensbi-1.8.tar.gz -> opensbi-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opensbi-1.8/include/sbi/sbi_scratch.h new/opensbi-1.8.1/include/sbi/sbi_scratch.h --- old/opensbi-1.8/include/sbi/sbi_scratch.h 2025-12-29 07:54:16.000000000 +0100 +++ new/opensbi-1.8.1/include/sbi/sbi_scratch.h 2026-01-08 09:48:14.000000000 +0100 @@ -186,7 +186,7 @@ /** HART index to HART id table */ extern u32 hartindex_to_hartid_table[]; -/** Get sbi_scratch from HART index */ +/** Get HART id from HART index */ #define sbi_hartindex_to_hartid(__hartindex) \ ({ \ ((__hartindex) < SBI_HARTMASK_MAX_BITS) ? \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opensbi-1.8/lib/sbi/sbi_hart_protection.c new/opensbi-1.8.1/lib/sbi/sbi_hart_protection.c --- old/opensbi-1.8/lib/sbi/sbi_hart_protection.c 2025-12-29 07:54:16.000000000 +0100 +++ new/opensbi-1.8.1/lib/sbi/sbi_hart_protection.c 2026-01-08 09:48:14.000000000 +0100 @@ -54,7 +54,7 @@ struct sbi_hart_protection *hprot = sbi_hart_protection_best(); if (!hprot) - return SBI_EINVAL; + return 0; if (!hprot->configure) return SBI_ENOSYS; @@ -75,9 +75,7 @@ { struct sbi_hart_protection *hprot = sbi_hart_protection_best(); - if (!hprot) - return SBI_EINVAL; - if (!hprot->map_range) + if (!hprot || !hprot->map_range) return 0; return hprot->map_range(sbi_scratch_thishart_ptr(), base, size); @@ -87,9 +85,7 @@ { struct sbi_hart_protection *hprot = sbi_hart_protection_best(); - if (!hprot) - return SBI_EINVAL; - if (!hprot->unmap_range) + if (!hprot || !hprot->unmap_range) return 0; return hprot->unmap_range(sbi_scratch_thishart_ptr(), base, size);
