Searched hist:"490 c03ab" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | loongarch_pch_msi.c | 490c03ab Thu Jun 30 22:07:40 CDT 2022 Mao Bibo <maobibo@loongson.cn> hw/intc/loongarch_pch_msi: Fix msi vector convertion
Loongarch pch msi intc connects to extioi controller, the range of irq number is 64-255. Add a property for irqbase, so that we can compute the irq offset from the view of pch_msi controller with the method:
msi vector (from view of upper extioi intc) - irqbase
Signed-off-by: Mao Bibo <maobibo@loongson.cn> Message-Id: <20220701030740.2469162-1-maobibo@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
/openbmc/qemu/include/hw/intc/ |
H A D | loongarch_pch_msi.h | 490c03ab Thu Jun 30 22:07:40 CDT 2022 Mao Bibo <maobibo@loongson.cn> hw/intc/loongarch_pch_msi: Fix msi vector convertion
Loongarch pch msi intc connects to extioi controller, the range of irq number is 64-255. Add a property for irqbase, so that we can compute the irq offset from the view of pch_msi controller with the method:
msi vector (from view of upper extioi intc) - irqbase
Signed-off-by: Mao Bibo <maobibo@loongson.cn> Message-Id: <20220701030740.2469162-1-maobibo@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|