Re: [PATCH] PCI: pciehp: Flush slot control prior to reset

2014-11-10 Thread Alex Williamson
On Fri, 2014-11-07 at 15:54 -0700, Alex Williamson wrote: > Since 3461a068661c we don't automatically do a pcie_wait_cmd() for > as part of pcie_write_cmd(), it needs to be called explicitly or > triggered by the next pcie_write_cmd(). However, when we do a > secondary bus reset and we're using pc

[PATCH] PCI: pciehp: Flush slot control prior to reset

2014-11-07 Thread Alex Williamson
Since 3461a068661c we don't automatically do a pcie_wait_cmd() for as part of pcie_write_cmd(), it needs to be called explicitly or triggered by the next pcie_write_cmd(). However, when we do a secondary bus reset and we're using pcie_write_cmd() to make sure that we don't see that bus reset as a