Merged
pr/pcie-nvme-03-common-interface #1489
pr/pcie-nvme-03-common-interface #1489
Merged
byosoft_renqixingAdd on 7 days ago
byosoft_renqixing
7 days ago

当前PR是否有AI参与:

[x] 否

[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :

PR功能描述 / 为什么需要这个合入:

把 huawei 的 34 个接口实现平移为公共实现,让所有厂商共用一份;huawei 驱动改为薄声明,实际验证"行为表 + CRTP 模板 + 公共接口"方案。

修改方案:

huawei/interface → common/interface(git mv 保留历史),差异在分叉点查行为表,厂商 key 由 apply_vendor_key() 注入。
common/meson.build 生成 pcie_nvme_common 静态库,厂商 .so 用 link_whole 复用,避免重复编译。
hw_nvme_pcie4 只剩 vendor_key + 对象宏;

验证方案:

hw/dapustor/dera/samsung 4 个 .so 正常链接;上游已合入的 PCIe 位宽刷新、128 位 SMART 解码、遥测任务保活均保留在公共实现中。

测试建议:

刷机做 huawei 盘回归:对象树与接口集合、MCTP over PCIe 日志采集等等

自验证报告:

367 insertions / 838 deletions(以代码平移、删除重复实现为主);conan create 编译通过。

该PR关联的issue

https://gitcode.com/openUBMC/component_drivers/issues/819

希望检视人员了解:

likedislike
Pull Request has been successfully merged by openUBMC-robot.
(Thank you for byosoft_renqixing's contribution.)
byosoft_renqixingbyosoft_renqixing
7 days ago Created pull request, commit 07957eab
openUBMC-robotopenUBMC-robotCollaborators
7 days ago Set u012924942,xiaoxinglxs,weixin_37569011,sam_h1973,net_swift_wangchen,dongyushan as approver
openUBMC-robotopenUBMC-robotCollaborators
7 days ago Added label: sig/sig-component-drivers
openUBMC-robot
openUBMC-robotCollaborators
7 days ago Comments:

欢迎来到 openUBMC 社区

Hey @byosoft_renqixing , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 说明文档 或 论坛 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅机器人自助配置使用手册。

联系指引

有疑问可以联系 SIG: sig-component-drivers ,
维护者是: @dongyushan, @net_swift_wangchen, @sam_h1973, @u012924942, @weixin_37569011, @xiaoxinglxs ,
优秀贡献者是: @adellonzzy, @avery-j, @changxingOpenUBMC, @chenshengfan, @dli_bmc, @huangjiapei, @leessential, @net_swift_tianwen, @xiapengc1, @yelvsub .

likedislike
openUBMC-robotopenUBMC-robotCollaborators
7 days ago Added label: stat/needs-squash
99 messages are collapsed here。 See more
openUBMC-robotopenUBMC-robotCollaborators
2 days ago Added label: approvedlgtm
openUBMC-robot
openUBMC-robotCollaborators
2 days ago Comments:

  • 标签 lgtm, approved 已被添加. 这意味着 dli_bmc 已经检查过代码了. 👋
Tips
  • 如果PR还没有被合入, 请评论 /check-pr 进行检查. 😄
likedislike
huangminghaoCollaborators
2 days ago Comments:

/check-pr

likedislike
openUBMC-robotopenUBMC-robotCollaborators
2 days ago Removed label: unresolved-reviews
openUBMC-robotopenUBMC-robotCollaborators
2 days ago Merged pull request, merge node SHA: a4c416b7607f9103e69bb5ac405f98cec39ec8fe