[A-34]ARMv8/v9-GIC-LPIs类型中断的路由机制(PCIE-MSI简介)

ver0.1

前言

前面写了一篇介绍ARM支持的中断类型LPIs的文章,那篇文章只是大致介绍了LPIs的架构与基本的工作机制。有一些点还没有聊透彻,比如LPIs类型中断的路由机制。本文就LPIs的路由机制做一个更深层次的介绍,丰富一些细节和背景帮助大家进一步的理解。大致的思路还是想从发出LPIs类型中断的设备源头开始,看看一个LPIs是如何被路由到一个具体的PE-Core的,这样就可以为大家大致呈现出LPIs类型中断的全貌。同样在开开始本文的阅读之前,希望大家阅读一些前序文章找找感觉:
(1) [A-14]ARMv8/ARMv9-Memory-内存模型的类型(Device & Normal)
(2) [A-32]ARMv8/v9-GIC-LPIs类型中断的架构和工作机制 .
(3) [A-25]ARMv8/v9-GIC的系统架构(中断的硬件基础)
(4) [A-26]ARMv8/v9-GIC的中断类型
(5) [A-27]ARMv8/v9-GIC的核心组件(中断编程的基础组件)
(6) [A-28]ARMv8/v9-GIC中断信号的路由机制与策略
(7) [A-29]ARMv8/v9-GIC-中断子系统的安全架构设计(Security/FIQ/IRQ)
(8) [A-30]ARMv8/v9-GIC-中断处理(中断状态机\中断生命周期)
(9)[A-31]ARMv8/v9-GIC-中断处理(中断优先级/中断抢占/中断嵌套)
(10)[A-09]ARMv8/ARMv9-Memory-内存地址空间(Translation Regimes)

正文

1.1 消息型中断MSI(Message Signaled Interrupts)

1.1.1 背景

前文中我们介绍中断的基础知识提到过,ARM的中断控制器GIC是支持外设通过消息机制向GIC发送中断请求,如图1-1所示。
1-1

图1-1 Message signaled interrupt signal

手册中对这种消息机制中断有如下的描述:

Using a message to forward the interrupt from a peripheral to the interrupt controller removes the requirement for a dedicated signal for each interrupt source. This can be an advantage for designers of large systems, where potentially hundreds or even thousands of signals might be routed across an SoC and converge on the interrupt controller.
Message-based interrupt
A message-based interrupt is an interrupt that is asserted

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值