Skip to content

KVM: riscv: selftests: Backport upstream SBI header refactoring fixes #290

@zhuzhenxxx-collab

Description

@zhuzhenxxx-collab

问题描述

KVM RISC-V selftests 编译失败,报 struct sbiret 未定义、SBI_EXT_BASE / SBI_EXT_BASE_PROBE_EXT / SBI_EXT_BASE_GET_SPEC_VERSION 未声明、sbi_ecall 隐式声明等错误。

原因

上游在 6.10-rc1 合入窗口期间,由于多个子系统分支并行合入,SBI 头文件迁移提交(9408a23fac62)与后续新增的 RISC-V selftests 代码产生了编译依赖问题。上游随后通过以下修复提交解决:

KVM: selftests: Fix RISC-V compilation(补充显式 include)
KVM: selftests: Add CONFIG_64BIT definition for the build
当前分支缺少这些上游修复提交,需要回合。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions