Re: [PATCH] PCI,pciehp: Move printout before write_cmd

2017-02-23 Thread yinghai . lu
yes. On 02/23/2017 01:55 PM, James Puthukattukaran wrote: So, the issue is that you could get the following sequence - write command print out in ISR for pending interrupt ctrl_dbg message for write command and this makes it look like the write command occurred after the pending interrupt me

Re: [PATCH] PCI,pciehp: Move printout before write_cmd

2017-02-23 Thread James Puthukattukaran
So, the issue is that you could get the following sequence - write command print out in ISR for pending interrupt ctrl_dbg message for write command and this makes it look like the write command occurred after the pending interrupt message? On 02/23/2017 03:28 PM, Yinghai Lu wrote: Bjorn c

[PATCH] PCI,pciehp: Move printout before write_cmd

2017-02-23 Thread Yinghai Lu
Bjorn complained some strange print out for pending interrupts. Actually that is caused that have cmd print out after write_cmd. Adjust the sequence to get right order for debug print out. Signed-off-by: Yinghai Lu diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.