通过硬件扩展实现确定性用户级中断
Enabling Deterministic User-Level Interrupts in Real-Time Processors via Hardware Extension
AI总结:
本文提出一种硬件扩展,实现用户级中断到达时确定性切换至正确保护域,无需内核干预,显著降低最坏情况延迟,满足关键实时应用需求。
摘要:
随着实时嵌入式系统复杂性的增加,软件组件需要被隔离到独立的保护域中以减少攻击面和限制故障传播。然而,应用程序提供的设备中断处理程序即使不可信也必须留在内核中以最小化中断延迟,这损害了安全性和手动认证的负担。当前的硬件扩展只能在目标保护域由内核调度时加速中断,因此只能提高平均情况性能,不能满足最坏情况延迟要求,无法满足自动驾驶车辆或机器人等关键实时应用的需求。为克服这一限制,我们提出了一种新的硬件扩展,使在用户级中断到达时能够确定性地切换到适当的保护域--即使该域处于睡眠状态--而无需内核干预。我们的硬件扩展通过增加50%以上的最坏情况延迟,同时增加19%的核面积(总die面积的2%)和4.1%的动态功率。据我们所知,这是第一个保证用户级中断交付的集成机制,具有纳秒级且有界的最坏情况延迟。
英文摘要:
The growing complexity of real-time embedded systems demands strong isolation of software components into separate protection domains to reduce attack surfaces and limit fault propagation. However, application-supplied device interrupt handlers -- even untrusted -- have to remain in the kernel to minimize interrupt latency, undermining security and burdening manual certifications. Current hardware extensions accelerate interrupts only when the target protection domain is scheduled by the kernel; consequently, they are limited to improving average-case performance but not worst-case latency, and do not meet the requirements of critical real-time applications such as autonomous vehicles or robots. To overcome this limitation, we propose a novel hardware extension that enables direct, deterministic switching to the appropriate protection domain upon user-level interrupt arrival -- without kernel intervention -- even when that domain is dormant. Our hardware extension reduces worst-case latency by more than 50x with a 19% increase in core area (2% of total die area) and 4.1% increase in dynamic power. To the best of our knowledge, this is the first integrated mechanism to guarantee user-level interrupt delivery with a nanosecond-scale yet bounded worst-case latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。