Skip to content

Add Linux SBI MPXY and RPMI drivers #243

@uestc-gr

Description

@uestc-gr

RISC-V国际已正式批准SBI v3.0规范(包含MPXY扩展)和RPMI v1.0规范。

目前,大多数RPMI和MPXY驱动程序都集成在OpenSBI中,而Linux仅包含SBI MPXY邮箱控制器驱动、RPMI时钟驱动和RPMI系统MSI驱动。
本系列补丁还为SBI MPXY邮箱控制器驱动和RPMI系统MSI驱动增加了ACPI支持。

https://github.com/riscv-non-isa/riscv-sbi-doc/releases
https://github.com/riscv-non-isa/riscv-rpmi/releases

主要需合入如下补丁
1)mpxy的前置补丁,主要包括acpi支持使用字符串标识符进行设备属性引用、内核基础设施函数的清理和优化
9880702 ACPI: property: Support using strings in reference properties
6db0261 Documentation: ACPI: Use all-string data node references
dbbe7ea dev_printk: add new dev_err_probe() helpers
66a5c40 kernel.h: removed REPEAT_BYTE from kernel.h
38b9baf lib/string: shrink lib/string.i via IWYU
a21cad9 driver core: Split devres APIs to device/devres.h

2)MPXY和RPMI的支持,包含SBI MPXY邮箱控制器驱动、RPMI时钟驱动和RPMI系统MSI驱动,为SBI MPXY邮箱控制器驱动和RPMI系统MSI驱动增加了ACPI支持。
492263f dt-bindings: mailbox: Add bindings for RPMI shared memory transport
581b4da dt-bindings: mailbox: Add bindings for RISC-V SBI MPXY extension
508da38 RISC-V: Add defines for the SBI message proxy extension
340974c mailbox: Add common header for RPMI messages sent via mailbox
6f01c24 byteorder: Add memcpy_to_le32() and memcpy_from_le32()
bf3022a mailbox: Add RISC-V SBI message proxy (MPXY) based mailbox driver
54e184f dt-bindings: clock: Add RPMI clock service message proxy bindings
b385830 dt-bindings: clock: Add RPMI clock service controller bindings
5ba9f52 clk: Add clock driver for the RISC-V RPMI clock service group
a72ab25 dt-bindings: Add RPMI system MSI message proxy bindings
3e6cf38 dt-bindings: Add RPMI system MSI interrupt controller bindings
aa43953 irqchip: Add driver for the RPMI system MSI service group
e121be7 ACPI: property: Refactor acpi_fwnode_get_reference_args() to support nargs_prop
159c86f ACPI: Add support for nargs_prop in acpi_fwnode_get_reference_args()
4215d1c ACPI: scan: Update honor list for RPMI System MSI
694b2ef ACPI: RISC-V: Create interrupt controller list in sorted order
4d185fd ACPI: RISC-V: Add support to update gsi range
bb96fb5 ACPI: RISC-V: Add RPMI System MSI to GSI mapping
3f5d7a5 irqchip/irq-riscv-imsic-early: Export imsic_acpi_get_fwnode()
7e64042 mailbox/riscv-sbi-mpxy: Add ACPI support
4752b0c irqchip/riscv-rpmi-sysmsi: Add ACPI support
f30d7cc RISC-V: Enable GPIO keyboard and event device in RV64 defconfig
67b8766 MAINTAINERS: Add entry for RISC-V RPMI and MPXY drivers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions