From patchwork Thu Jan 8 10:16:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Perrot X-Patchwork-Id: 78258 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AB89CF6ABF for ; Thu, 8 Jan 2026 10:16:31 +0000 (UTC) Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3568.1767867381831384124 for ; Thu, 08 Jan 2026 02:16:22 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=eq9xi+im; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: thomas.perrot@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 312611A26FF for ; Thu, 8 Jan 2026 10:16:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 06F91606B6 for ; Thu, 8 Jan 2026 10:16:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4870D103C8016; Thu, 8 Jan 2026 11:16:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767867379; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=/FNSWEYCC0qtOTFZWO5M2/INpfbILGz00nfdGMBjxKE=; b=eq9xi+im8SUnQJ7OiuufeZBkLcF+CnqtNdH8QJTZLY9ys/UgCTy0skFKAkQgkXM7vLSB7c RYpz5QovhkV8eLJC+PAWU3i49ImY0CxVLhvENWkmq1MAoIwZx5hx0wZ6pqvelzYn711Cfl BgNbgqwoWyiTKT/V21L82Xia0PSP/AdeFbrbAVhxZ5E2RKmK/YC6JR4DxRSB6vSbb6IlB3 9JSLvi0/ttZtUtB/PAvf6Hqk+MosGMcQ4mPPmSgVyuzjuePazqWKW/u7TjtPm8koTYEvUx hs5rYjAXeE+LyuFR1cnKVvEL5ww1H1+lTuNdOrB2+mB8JT+CQcye21iACMVHnQ== From: thomas.perrot@bootlin.com To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, Thomas Perrot Subject: [OE-core][PATCH v4] opensbi: bump to 1.8 Date: Thu, 8 Jan 2026 11:16:09 +0100 Message-ID: <20260108101609.60948-1-thomas.perrot@bootlin.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 08 Jan 2026 10:16:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229055 From: Thomas Perrot This release has: - Safe and reverse list iteration - Stack protector support - Allocate heap housekeeping nodes dynamically - IPI device ratings - Andes QiLai SoC support - SpacemiT K1 SoC support - ESWIN Computing EIC7700 SoC support - Moved Ariane and Openpiton to generic platform - SiFive CLINT v2 support - Simple FDT based cache library - SiFive PL2 cache controller driver - SiFive Extensible Cache (EC) driver - SiFive TMC0 based HSM driver - SiFive SMC0 based system suspend driver - MPXY RPMI mailbox driver for voltage service group - MPXY RPMI mailbox driver for device power service group - MPXY RPMI mailbox driver for performance service group - HART protection abstraction Overall, this release has various domain related improvements and also adds multiple platform support. Additionally, enable PMP support on QEMU using rva23s64, as PMP is disabled by default, which causes the hart isolation configuration to fail [1]. [1] https://lists.nongnu.org/archive/html/qemu-riscv/2026-01/msg00048.html Signed-off-by: Thomas Perrot --- Changes in v4: - Fix commit message (again, sorry) Changes in v3: - Fix commit message Changes in v2: - Enable PMP support on Qemu with rva23 - Include tag=v${PV} in the SRC_URI - Link to v1: https://lists.openembedded.org/g/openembedded-core/message/228935 --- meta/conf/machine/include/riscv/qemuriscv.inc | 2 +- meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} (96%) diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index b755d32c9d1a..bac376ce5a80 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc @@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000" # qemuboot options QB_SMP ?= "-smp 4" QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" -QB_CPU:riscv64 ?= "-cpu rva23s64" +QB_CPU:riscv64 ?= "-cpu rva23s64,pmp=true" QB_MACHINE = "-machine virt" QB_DEFAULT_BIOS = "fw_jump.elf" QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" diff --git a/meta/recipes-bsp/opensbi/opensbi_1.7.bb b/meta/recipes-bsp/opensbi/opensbi_1.8.bb similarity index 96% rename from meta/recipes-bsp/opensbi/opensbi_1.7.bb rename to meta/recipes-bsp/opensbi/opensbi_1.8.bb index a460062e9398..5352c01d6693 100644 --- a/meta/recipes-bsp/opensbi/opensbi_1.7.bb +++ b/meta/recipes-bsp/opensbi/opensbi_1.8.bb @@ -8,8 +8,8 @@ require opensbi-payloads.inc inherit deploy -SRCREV = "a32a91069119e7a5aa31e6bc51d5e00860be3d80" -SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https" +SRCREV = "e7fa66c2160ec139de1853a00f669c09320a9256" +SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https;tag=v${PV}" TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/"