On Sun, 17 Jul 2022 12:29:05 +0100,
Jianmin Lv <lvjianmin@xxxxxxxxxxx> wrote:
On 2022/7/17 下午6:02, Marc Zyngier wrote:
But the other issue is that you seem to call this function from two
different locations. This cannot be right, as there should be only one
probe order, and not multiple.
As we described two IRQ models(Legacy and Extended) in this cover
letter, the parent domain of MSI domain can be htvec domain(Legacy) or
eiointc domain(Extended). In MADT, only one APIC(HTPIC for htvec or
EIOPIC for eiointc) is allowed to pass into kernel, and then in the
irqchip driver, only one kind APIC of them can be parsed from MADT, so
we have to support two probe order for them.
Do you really have the two variants in the wild? Or is this just
because this is a possibility?
M.