Re: BUG: INTx is assered unexpectly when unload AHCI driver with MSIx support.

2016-07-18 Thread t...@kernel.org
Hello, Pang. On Fri, Jul 15, 2016 at 12:39:59PM +, Pang Raymond wrote: > Hi Tejun, > > > Yes! It only happens when the device is shutdown. > > I think you're right. It's more wiser to add clearing operation to driver > > clean up path. > > So we can add it to ahci_port_stop() > > > liba

Re: 答复: BUG: INTx is assered unexpectly when unload AHCI driver with MSIx support.

2016-07-12 Thread t...@kernel.org
Hello, On Mon, Jul 11, 2016 at 05:16:00AM +, Pang Raymond wrote: > static irqreturn_t ahci_multi_irqs_intr_hard(int irq, > void *dev_instance) > { > // omitting unconcerned codes here > // ... >status = readl(port_mmio + PORT_IRQ_STAT); >writel(status, po

Re: BUG: INTx is assered unexpectly when unload AHCI driver with MSIx support.

2016-07-06 Thread t...@kernel.org
Hello, (Can you please flow the text a bit below 80 column when you reply?) On Wed, Jul 06, 2016 at 02:51:47AM +, Pang Raymond wrote: > Why does the phenomenon appear? > Two factors cause this problem. > 1. In MSIx's irq handler > (ahci_multi_irqs_intr_har