Loic Prylli <loic@myri.com> writes:We should also be leaving the INTx irqs disabled. So no irq should be generated. If you have a mask bit implemented you are required to be able to refire it after the msi is enabled. I don't recall the requirements for when both intx and msi irqs are both disabled. Intuitively I would expect no irq message to be generated, and at most the card would need to be polled manually to recognize a device event happened. Certainly firing an irq and having it get completely lost is unfortunate, and a major pain if you are trying to use the card. As for the previous no-op behavior that was a bug. enable_irq/disable_irq. Although we can get away with a software emulation there and those are only needed if the driver calls them. The PCI spec requires disabling/masking the msi when reprogramming it. So as a general rule we can not do better. Further because we are writing to multiple pci config registers the only way we can safely reprogram the message is with the msi disabled/masked on the card in some fashion. I suspect what needs to happen is a spec search to verify that the current linux behavior is at least reasonable within the spec. Once we have verified that the generic code can not do better. We can look at work-arounds. One possibility is for the generic code to provide some overrides for the methods for masking and reading/writing to a msi message. I don't want to break anyones hardware, but at the same time I want us to be careful and in spec for the default case. Eric -
| Andy Whitcroft | Re: 2.6.23-rc6-mm1 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Alan | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
