Re: MSI problem since 2.6.21 for devices not providing a mask in their MSI capability

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric W. Biederman <ebiederm@...>
Cc: Loic Prylli <loic@...>, <linux-pci@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, October 3, 2007 - 6:03 pm

> We should also be leaving the INTx irqs disabled.  So no irq

Well, yes and no ... A valid option here would be to use soft-masking,
which is possible because MSIs are edge interrupts. That is, basically,
when masked, just ignore them and set IRQF_PENDING, and when unmasked,
replay (which can be done with softirq if there is no HW mechanism for
that). The genirq code contains all the necessary infrastructure for
doing that stuff, it's fairly trivial, and would probably avoid stepping
in HW lalaland (how much do you bet HW generally get that masking thing
wrong ?)


Hrm... all right, that will be an issue, so migration need a real
masking.


Ben.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: MSI problem since 2.6.21 for devices not providing a mas..., Eric W. Biederman, (Wed Oct 3, 11:58 pm)
Re: MSI problem since 2.6.21 for devices not providing a mas..., Benjamin Herrenschmidt, (Wed Oct 3, 6:03 pm)