Skip to content

中断注入支持 #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aarkegz opened this issue Apr 21, 2025 · 2 comments
Open

中断注入支持 #128

aarkegz opened this issue Apr 21, 2025 · 2 comments

Comments

@aarkegz
Copy link
Contributor

aarkegz commented Apr 21, 2025

PR:#47
设计文档:#40

@aarkegz
Copy link
Contributor Author

aarkegz commented Apr 21, 2025

当前存在的一系列问题(250421):

  • RISC-V 的中断注入代码未检查合并。
  • x86 下时钟时间不准确(似乎不是中断注入的问题)。
  • aarch64 下,由于未正确提供 CNTFRQ_EL0 虚拟化,导致时钟出现问题。目前Workaround:修改axconfig.toml,使得arceos的tickrate等于硬件的 CNTFRQ_EL0
  • aarch64 下,没有对注入中断到等待中的 VCpu 做处理,仅能注入到当前运行的 VCpu。
  • aarch64 下,中断注入依赖硬件功能,目前暂时通过 arm_vcpu ➡️ axvisor_api ➡️ axhal 的流程调用,使代码符合预期结构,然后中间两段接口如何做到架构统一仍然需要思考。
  • PerCpu 中断控制器是作为 device 收拢到 axvm 这一层被管理,还是直接嵌入到 VCpu 中,需要统一做法。

@aarkegz aarkegz moved this to In Progress in ArceOS Hypervisor Tasks Apr 21, 2025
@aarkegz
Copy link
Contributor Author

aarkegz commented May 12, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant