PCI/DPC: Leave interrupts enabled while handling event
authorKeith Busch <keith.busch@intel.com>
Wed, 20 Jun 2018 21:38:27 +0000 (15:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 21:20:59 +0000 (16:20 -0500)
commitf8d46c89c86fa11c60c05e101a3a4c7458623103
tree1bd62f9d90e7af24b2f4bf51782de2b74eb5c20a
parent1e4511604dfaf6d1642603ff89effb9e93682716
PCI/DPC: Leave interrupts enabled while handling event

Now that the DPC driver clears the interrupt status before exiting the
IRQ handler, we don't need to abuse the DPC control register to know if
a shared interrupt is for a new DPC event: a DPC port can not trigger
a second interrupt until the host clears the trigger status later in the
work queue handler.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
drivers/pci/pcie/dpc.c